Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.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.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM") translateModel(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3623/0.3623, allocations: 78.54 MB / 94.85 MB, free: 3.684 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.001033/0.001033, allocations: 107.5 kB / 114.4 MB, free: 9.766 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.001208/0.001208, allocations: 196.1 kB / 134.1 MB, free: 6.113 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.345/1.345, allocations: 222.9 MB / 376.5 MB, free: 15.6 MB / 286.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.6489/0.6489, allocations: 62.22 MB / 0.4957 GB, free: 5.91 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004373/0.004373, allocations: 131.8 kB / 0.6447 GB, free: 6.633 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1751, allocations: 69.51 MB / 0.7126 GB, free: 1.059 MB / 0.4982 GB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM): time 0.005356/0.1805, allocations: 4.667 MB / 0.7172 GB, free: 12.37 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.002475/0.183, allocations: 1.383 MB / 0.7185 GB, free: 10.98 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003022/0.1833, allocations: 11.94 kB / 0.7185 GB, free: 10.97 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.0003808/0.1837, allocations: 138.8 kB / 0.7187 GB, free: 10.83 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.0005558/0.1843, allocations: 274 kB / 0.7189 GB, free: 10.56 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.1855, allocations: 0.6027 MB / 0.7195 GB, free: 9.961 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.0009265/0.1864, allocations: 1.045 MB / 0.7205 GB, free: 8.91 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002955/0.1867, allocations: 189.2 kB / 0.7207 GB, free: 8.711 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004378/0.1872, allocations: 430.5 kB / 0.7211 GB, free: 8.289 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006597/0.1878, allocations: 0.537 MB / 0.7217 GB, free: 7.75 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.0001188/0.188, allocations: 88 kB / 0.7217 GB, free: 7.664 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002546/0.1882, allocations: 148 kB / 0.7219 GB, free: 7.52 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.0001688/0.1884, allocations: 219.1 kB / 0.7221 GB, free: 7.305 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.0003248/0.1887, allocations: 437.8 kB / 0.7225 GB, free: 6.875 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.0009104/0.1896, allocations: 1.016 MB / 0.7235 GB, free: 5.855 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1897, allocations: 4 kB / 0.7235 GB, free: 5.852 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1897, allocations: 0 / 0.7235 GB, free: 5.852 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 1.302e-05/0.1897, allocations: 0 / 0.7235 GB, free: 5.852 MB / 0.5138 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.004088/0.1938, allocations: 1.418 MB / 0.7249 GB, free: 4.379 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.1938, allocations: 16.03 kB / 0.7249 GB, free: 4.363 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009818/0.1948, allocations: 191.8 kB / 0.7251 GB, free: 4.176 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008121/0.1956, allocations: 0.5301 MB / 0.7256 GB, free: 3.602 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.1958, allocations: 79.02 kB / 0.7257 GB, free: 3.52 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.1959, allocations: 56 kB / 0.7257 GB, free: 3.465 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/0.1973, allocations: 0.7722 MB / 0.7265 GB, free: 2.664 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.1974, allocations: 3.906 kB / 0.7265 GB, free: 2.66 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.221e-05/0.1975, allocations: 20 kB / 0.7265 GB, free: 2.641 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.1975, allocations: 16 kB / 0.7265 GB, free: 2.625 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001586/0.1991, allocations: 0.8365 MB / 0.7273 GB, free: 1.789 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004697/0.2038, allocations: 2.844 MB / 0.7301 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001886/0.2057, allocations: 1.116 MB / 0.7312 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007532/0.2065, allocations: 455.5 kB / 0.7316 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.374e-05/0.2065, allocations: 8.656 kB / 0.7317 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.2066, allocations: 47.2 kB / 0.7317 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=80): time 2.605e-06/0.2066, allocations: 0 / 0.7317 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=81): time 0.01113/0.2177, allocations: 3.871 MB / 0.7355 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.2178, allocations: 89.7 kB / 0.7356 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006552/0.2185, allocations: 0.5301 MB / 0.7361 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.214e-05/0.2185, allocations: 41.7 kB / 0.7361 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/0.2187, allocations: 312.5 kB / 0.7364 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002311/0.219, allocations: 283.9 kB / 0.7367 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002343/0.2192, allocations: 126.6 kB / 0.7368 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.2194, allocations: 382.8 kB / 0.7372 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007173/0.2201, allocations: 357.8 kB / 0.7375 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007795/0.2209, allocations: 0.4888 MB / 0.738 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/0.2225, allocations: 0.8906 MB / 0.7389 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2225, allocations: 0 / 0.7389 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004648/0.2271, allocations: 1.72 MB / 0.7405 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.2272, allocations: 12 kB / 0.7406 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.2272, allocations: 4 kB / 0.7406 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002198/0.2294, allocations: 0.5785 MB / 0.7411 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000748/0.2301, allocations: 127.8 kB / 0.7412 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6047/0.8349, allocations: 5.766 MB / 0.7469 GB, free: 32.73 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/0.8359, allocations: 46.88 kB / 0.7469 GB, free: 32.73 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.175e-05/0.836, allocations: 30.08 kB / 0.747 GB, free: 32.73 MB / 0.5295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (74): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (4,18,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002997/0.8363, allocations: 196.4 kB / 0.7471 GB, free: 32.62 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.8365, allocations: 71.36 kB / 0.7472 GB, free: 32.62 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00482/0.8413, allocations: 1.704 MB / 0.7489 GB, free: 32.46 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.802e-05/0.8414, allocations: 8.656 kB / 0.7489 GB, free: 32.46 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-05/0.8414, allocations: 5.375 kB / 0.7489 GB, free: 32.46 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.568e-05/0.8414, allocations: 7.219 kB / 0.7489 GB, free: 32.46 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005836/0.8472, allocations: 2.662 MB / 0.7515 GB, free: 31.33 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/0.8473, allocations: 1.344 kB / 0.7515 GB, free: 31.33 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007675/0.8481, allocations: 114.3 kB / 0.7516 GB, free: 31.33 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001983/0.8501, allocations: 0.5499 MB / 0.7521 GB, free: 31.23 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.5e-05/0.8502, allocations: 17.73 kB / 0.7522 GB, free: 31.22 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007519/0.8577, allocations: 5.349 MB / 0.7574 GB, free: 27.47 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.8577, allocations: 0 / 0.7574 GB, free: 27.47 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005782/0.8635, allocations: 2.324 MB / 0.7596 GB, free: 26.57 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00026/0.8638, allocations: 145.3 kB / 0.7598 GB, free: 26.44 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.8639, allocations: 17.2 kB / 0.7598 GB, free: 26.43 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007798/0.8647, allocations: 41.05 kB / 0.7598 GB, free: 26.41 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003504/0.8651, allocations: 86.62 kB / 0.7599 GB, free: 26.4 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.329e-05/0.8651, allocations: 25.98 kB / 0.7599 GB, free: 26.39 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0004856/0.8656, allocations: 379.2 kB / 0.7603 GB, free: 26.21 MB / 0.5295 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8656, allocations: 0 / 0.7603 GB, free: 26.21 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0009426/0.8666, allocations: 245.7 kB / 0.7605 GB, free: 26.18 MB / 0.5295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (Inf.delta,Inf.eq,DPIM.Rotor_Inertia.w,DPIM.speed.phi,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 (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (4,18,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001901/0.8668, allocations: 122.9 kB / 0.7607 GB, free: 26.09 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.002776/0.8695, allocations: 1.313 MB / 0.7619 GB, free: 25.48 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.8696, allocations: 1.25 kB / 0.7619 GB, free: 25.48 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.001705/0.8713, allocations: 0.8753 MB / 0.7628 GB, free: 25.01 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000781/0.8721, allocations: 78.09 kB / 0.7629 GB, free: 24.96 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002692/0.8748, allocations: 1.597 MB / 0.7644 GB, free: 24.07 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004379/0.8752, allocations: 0.9245 MB / 0.7653 GB, free: 23.36 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003186/0.8756, allocations: 49.8 kB / 0.7654 GB, free: 23.35 MB / 0.5295 GB Notification: Performance of SimCode: time 5.81e-07/0.8756, allocations: 0 / 0.7654 GB, free: 23.35 MB / 0.5295 GB Notification: Performance of Templates: time 0.02301/0.8986, allocations: 14.91 MB / 0.7799 GB, free: 18.18 MB / 0.5295 GB make -j1 -f OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.makefile (rm -f OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.pipe ; mkfifo OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.pipe ; head -c 1048576 < OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.pipe >> ../files/OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.sim & ./OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.pipe 2>&1)