Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo", uses=false) Using package OpenIMDML with version 1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Running command: translateModel(OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM") translateModel(OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3502/0.3502, allocations: 78.54 MB / 94.8 MB, free: 3.852 MB / 78.07 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 114 kB / 114.4 MB, free: 9.82 MB / 94.07 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 188.5 kB / 134 MB, free: 6.164 MB / 110.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 376.4 MB, free: 3.797 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.7066/0.7066, allocations: 62.27 MB / 0.4957 GB, free: 7.801 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002219/0.00222, allocations: 135.8 kB / 0.5764 GB, free: 5.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.504/0.5063, allocations: 69.5 MB / 0.6443 GB, free: 18.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM): time 0.004812/0.5111, allocations: 4.338 MB / 0.6485 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002083/0.5132, allocations: 1.364 MB / 0.6499 GB, free: 13.67 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002123/0.5135, allocations: 4.844 kB / 0.6499 GB, free: 13.67 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003173/0.5138, allocations: 147.2 kB / 0.65 GB, free: 13.55 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004568/0.5143, allocations: 260.4 kB / 0.6502 GB, free: 13.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.5154, allocations: 0.6664 MB / 0.6509 GB, free: 12.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007805/0.5162, allocations: 1.04 MB / 0.6519 GB, free: 12.19 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002499/0.5165, allocations: 166.1 kB / 0.6521 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003497/0.5168, allocations: 433.8 kB / 0.6525 GB, free: 11.83 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005928/0.5174, allocations: 0.5726 MB / 0.653 GB, free: 11.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.5175, allocations: 91.12 kB / 0.6531 GB, free: 11.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002635/0.5178, allocations: 150.3 kB / 0.6533 GB, free: 11.4 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001442/0.518, allocations: 223.9 kB / 0.6535 GB, free: 11.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002675/0.5182, allocations: 434 kB / 0.6539 GB, free: 10.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007394/0.519, allocations: 1.059 MB / 0.6549 GB, free: 10.08 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.519, allocations: 0 / 0.6549 GB, free: 10.08 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.519, allocations: 0 / 0.6549 GB, free: 10.08 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.519, allocations: 0 / 0.6549 GB, free: 10.08 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.005163/0.5242, allocations: 1.748 MB / 0.6566 GB, free: 8.977 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.5242, allocations: 12.72 kB / 0.6567 GB, free: 8.973 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002367/0.5266, allocations: 420.7 kB / 0.6571 GB, free: 8.801 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006739/0.5273, allocations: 0.5467 MB / 0.6576 GB, free: 8.316 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.5274, allocations: 145.5 kB / 0.6577 GB, free: 8.191 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.5276, allocations: 55.03 kB / 0.6578 GB, free: 8.172 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.529, allocations: 0.8588 MB / 0.6586 GB, free: 7.656 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.5291, allocations: 0 / 0.6586 GB, free: 7.656 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.796e-05/0.5291, allocations: 19.72 kB / 0.6586 GB, free: 7.641 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/0.5291, allocations: 13.66 kB / 0.6586 GB, free: 7.641 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001775/0.5309, allocations: 0.9783 MB / 0.6596 GB, free: 6.996 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002832/0.5338, allocations: 2.28 MB / 0.6618 GB, free: 4.602 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/0.5354, allocations: 1.235 MB / 0.663 GB, free: 3.273 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008619/0.5362, allocations: 0.6292 MB / 0.6637 GB, free: 2.641 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.5363, allocations: 9 kB / 0.6637 GB, free: 2.633 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.5364, allocations: 43.56 kB / 0.6637 GB, free: 2.578 MB / 446.1 MB Notification: Performance of pre-optimization done (n=90): time 1.884e-06/0.5364, allocations: 0 / 0.6637 GB, free: 2.578 MB / 446.1 MB Notification: Performance of matching and sorting (n=90): time 0.01499/0.5514, allocations: 4.723 MB / 0.6683 GB, free: 13.82 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.5514, allocations: 94.11 kB / 0.6684 GB, free: 13.71 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007102/0.5522, allocations: 0.5381 MB / 0.6689 GB, free: 13.17 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.917e-05/0.5522, allocations: 41.7 kB / 0.669 GB, free: 13.12 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.5525, allocations: 285.1 kB / 0.6692 GB, free: 12.84 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002828/0.5527, allocations: 311.4 kB / 0.6695 GB, free: 12.53 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002743/0.553, allocations: 122.7 kB / 0.6697 GB, free: 12.4 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.5532, allocations: 382.8 kB / 0.67 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009395/0.5542, allocations: 489.8 kB / 0.6705 GB, free: 11.54 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.5552, allocations: 0.5892 MB / 0.6711 GB, free: 10.92 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01682/0.5721, allocations: 3.983 MB / 0.675 GB, free: 6.906 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.5721, allocations: 0 / 0.675 GB, free: 6.906 MB / 462.1 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.00854/0.5806, allocations: 2.858 MB / 0.6777 GB, free: 4.031 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/0.5807, allocations: 8 kB / 0.6778 GB, free: 4.023 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.5807, allocations: 3.938 kB / 0.6778 GB, free: 4.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004017/0.5848, allocations: 1.155 MB / 0.6789 GB, free: 2.863 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.5858, allocations: 115.8 kB / 0.679 GB, free: 2.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01483/0.6007, allocations: 7.076 MB / 0.6859 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/0.6021, allocations: 103.3 kB / 0.686 GB, free: 11.41 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002011/0.6023, allocations: 28 kB / 0.686 GB, free: 11.39 MB / 478.1 MB Warning: Assuming fixed start value for the following 1 variables: DPIM.s:VARIABLE(start = DPIM.s0 unit = "1" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(12,22,44.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005879/0.6029, allocations: 200 kB / 0.6862 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003095/0.6033, allocations: 83 kB / 0.6863 GB, free: 11.1 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008425/0.6117, allocations: 2.914 MB / 0.6891 GB, free: 8.176 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.658e-05/0.6117, allocations: 11.94 kB / 0.6892 GB, free: 8.164 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.484e-05/0.6117, allocations: 8 kB / 0.6892 GB, free: 8.156 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/0.6118, allocations: 3.984 kB / 0.6892 GB, free: 8.152 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01036/0.6221, allocations: 4.049 MB / 0.6931 GB, free: 4.016 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.988e-06/0.6222, allocations: 3.938 kB / 0.6931 GB, free: 4.012 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006828/0.6229, allocations: 103.9 kB / 0.6932 GB, free: 3.91 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003539/0.6264, allocations: 1.121 MB / 0.6943 GB, free: 2.785 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.564e-05/0.6265, allocations: 23.88 kB / 0.6943 GB, free: 2.762 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01256/0.6391, allocations: 6.302 MB / 0.7005 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6391, allocations: 0 / 0.7005 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009623/0.6487, allocations: 3.724 MB / 0.7041 GB, free: 8.57 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004177/0.6492, allocations: 160.1 kB / 0.7043 GB, free: 8.395 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002134/0.6494, allocations: 16 kB / 0.7043 GB, free: 8.379 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.6504, allocations: 63.94 kB / 0.7044 GB, free: 8.316 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000434/0.6509, allocations: 144.7 kB / 0.7045 GB, free: 8.176 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.537e-05/0.651, allocations: 20 kB / 0.7045 GB, free: 8.156 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005742/0.6516, allocations: 390.8 kB / 0.7049 GB, free: 7.777 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6516, allocations: 0 / 0.7049 GB, free: 7.777 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001118/0.6527, allocations: 311.7 kB / 0.7052 GB, free: 7.473 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (Inf.delta,Inf.eq,DPIM.s,Inf.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(12,22,44.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002504/0.653, allocations: 124.1 kB / 0.7053 GB, free: 7.344 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004214/0.6572, allocations: 1.706 MB / 0.707 GB, free: 5.617 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.6572, allocations: 0 / 0.707 GB, free: 5.617 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002734/0.6599, allocations: 1.144 MB / 0.7081 GB, free: 4.461 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006729/0.6606, allocations: 70.31 kB / 0.7082 GB, free: 4.395 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003282/0.6639, allocations: 1.591 MB / 0.7097 GB, free: 2.773 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000534/0.6645, allocations: 0.9439 MB / 0.7106 GB, free: 1.797 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003681/0.6648, allocations: 77.14 kB / 0.7107 GB, free: 1.719 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/0.6651, allocations: 51.42 kB / 0.7108 GB, free: 1.668 MB / 494.1 MB Notification: Performance of SimCode: time 6.02e-07/0.6651, allocations: 0 / 0.7108 GB, free: 1.668 MB / 494.1 MB Notification: Performance of Templates: time 0.02606/0.6911, allocations: 16.04 MB / 0.7264 GB, free: 1.668 MB / 0.4982 GB make -j1 -f OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM.makefile (rm -f OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM.pipe ; mkfifo OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM.pipe ; head -c 1048576 < OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM.pipe >> ../files/OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM.sim & ./OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM.pipe 2>&1)