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.3388/0.3388, allocations: 78.54 MB / 94.84 MB, free: 3.891 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.001059/0.001059, allocations: 119.1 kB / 114.4 MB, free: 9.809 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.001377/0.001377, allocations: 185.2 kB / 134.1 MB, free: 6.168 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.265/1.265, allocations: 222.9 MB / 376.5 MB, free: 3.766 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.5622/0.5622, allocations: 62.26 MB / 0.4958 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 133.9 kB / 0.6448 GB, free: 14.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1168, allocations: 69.51 MB / 0.7127 GB, free: 13.46 MB / 0.4982 GB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM): time 0.005469/0.1223, allocations: 4.675 MB / 0.7172 GB, free: 8.758 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.002527/0.1249, allocations: 1.387 MB / 0.7186 GB, free: 7.367 MB / 0.4982 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004652/0.1254, allocations: 11.94 kB / 0.7186 GB, free: 7.355 MB / 0.4982 GB Notification: Performance of NFTyping.typeComponents: time 0.0004201/0.1258, allocations: 126.9 kB / 0.7187 GB, free: 7.23 MB / 0.4982 GB Notification: Performance of NFTyping.typeBindings: time 0.0007326/0.1266, allocations: 278 kB / 0.719 GB, free: 6.957 MB / 0.4982 GB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.1278, allocations: 0.6061 MB / 0.7196 GB, free: 6.352 MB / 0.4982 GB Notification: Performance of NFFlatten.flatten: time 0.001109/0.1289, allocations: 1.053 MB / 0.7206 GB, free: 5.293 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002785/0.1292, allocations: 177.3 kB / 0.7208 GB, free: 5.105 MB / 0.4982 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004449/0.1296, allocations: 430.5 kB / 0.7212 GB, free: 4.684 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005923/0.1302, allocations: 0.5369 MB / 0.7217 GB, free: 4.145 MB / 0.4982 GB Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.1303, allocations: 92 kB / 0.7218 GB, free: 4.055 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002596/0.1306, allocations: 152 kB / 0.7219 GB, free: 3.906 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.0001671/0.1308, allocations: 211.2 kB / 0.7221 GB, free: 3.699 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.0003313/0.1311, allocations: 429.8 kB / 0.7226 GB, free: 3.277 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.0009374/0.1321, allocations: 1.035 MB / 0.7236 GB, free: 2.238 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1321, allocations: 0 / 0.7236 GB, free: 2.238 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1321, allocations: 0 / 0.7236 GB, free: 2.238 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.1321, allocations: 0 / 0.7236 GB, free: 2.238 MB / 0.4982 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.003703/0.1358, allocations: 1.433 MB / 0.725 GB, free: 0.75 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.1358, allocations: 8.031 kB / 0.725 GB, free: 0.7422 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009314/0.1368, allocations: 204.2 kB / 0.7252 GB, free: 0.543 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007237/0.1375, allocations: 0.5344 MB / 0.7257 GB, free: 15.96 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.32e-05/0.1376, allocations: 79 kB / 0.7258 GB, free: 15.88 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.1377, allocations: 56 kB / 0.7258 GB, free: 15.83 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/0.139, allocations: 0.7644 MB / 0.7266 GB, free: 15.04 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.139, allocations: 8 kB / 0.7266 GB, free: 15.03 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.117e-05/0.1391, allocations: 23.94 kB / 0.7266 GB, free: 15 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.1391, allocations: 12 kB / 0.7266 GB, free: 14.99 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001598/0.1407, allocations: 0.8365 MB / 0.7274 GB, free: 14.16 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004329/0.1451, allocations: 2.856 MB / 0.7302 GB, free: 11.18 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00178/0.1469, allocations: 1.128 MB / 0.7313 GB, free: 9.961 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007282/0.1476, allocations: 443.5 kB / 0.7317 GB, free: 9.523 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 8.452e-05/0.1477, allocations: 16.64 kB / 0.7318 GB, free: 9.508 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.1477, allocations: 43.22 kB / 0.7318 GB, free: 9.453 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=80): time 2.295e-06/0.1477, allocations: 0 / 0.7318 GB, free: 9.453 MB / 0.5138 GB Notification: Performance of matching and sorting (n=81): time 0.01051/0.1582, allocations: 3.9 MB / 0.7356 GB, free: 5.473 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.1583, allocations: 89.7 kB / 0.7357 GB, free: 5.367 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006733/0.159, allocations: 0.5302 MB / 0.7362 GB, free: 4.832 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 5.529e-05/0.1591, allocations: 37.64 kB / 0.7362 GB, free: 4.789 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/0.1593, allocations: 313.1 kB / 0.7365 GB, free: 4.477 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002347/0.1595, allocations: 301.4 kB / 0.7368 GB, free: 4.18 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002348/0.1598, allocations: 126.6 kB / 0.737 GB, free: 4.051 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1599, allocations: 382.8 kB / 0.7373 GB, free: 3.668 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007127/0.1606, allocations: 357.8 kB / 0.7377 GB, free: 3.316 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007702/0.1614, allocations: 0.4888 MB / 0.7381 GB, free: 2.781 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001502/0.1629, allocations: 0.8906 MB / 0.739 GB, free: 1.844 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1629, allocations: 0 / 0.739 GB, free: 1.844 MB / 0.5138 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004397/0.1673, allocations: 1.72 MB / 0.7407 GB, free: 108 kB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.1674, allocations: 8 kB / 0.7407 GB, free: 100 kB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.1674, allocations: 4 kB / 0.7407 GB, free: 96 kB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002096/0.1695, allocations: 0.5717 MB / 0.7413 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006939/0.1702, allocations: 131.8 kB / 0.7414 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008462/0.1787, allocations: 5.783 MB / 0.747 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000861/0.1796, allocations: 47.97 kB / 0.7471 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.1797, allocations: 27.98 kB / 0.7471 GB, free: 9.242 MB / 0.5294 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.0003311/0.18, allocations: 195 kB / 0.7473 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/0.1802, allocations: 79.59 kB / 0.7474 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004372/0.1846, allocations: 1.693 MB / 0.749 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.1846, allocations: 11.94 kB / 0.749 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.1846, allocations: 4 kB / 0.749 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.1846, allocations: 7.984 kB / 0.749 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005625/0.1903, allocations: 2.667 MB / 0.7516 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.1903, allocations: 192 / 0.7516 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007037/0.191, allocations: 119.8 kB / 0.7518 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001888/0.1929, allocations: 0.5519 MB / 0.7523 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.541e-05/0.193, allocations: 16 kB / 0.7523 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007601/0.2006, allocations: 5.363 MB / 0.7575 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.2006, allocations: 0 / 0.7575 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005203/0.2058, allocations: 2.326 MB / 0.7598 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002245/0.2061, allocations: 156.7 kB / 0.76 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/0.2062, allocations: 16 kB / 0.76 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007452/0.2069, allocations: 39.97 kB / 0.76 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002463/0.2072, allocations: 84.53 kB / 0.7601 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-05/0.2073, allocations: 23.98 kB / 0.7601 GB, free: 11.46 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004431/0.2077, allocations: 382.8 kB / 0.7605 GB, free: 11.09 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.453e-06/0.2077, allocations: 0 / 0.7605 GB, free: 11.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008357/0.2086, allocations: 251.9 kB / 0.7607 GB, free: 10.84 MB / 0.545 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.000186/0.2088, allocations: 123.1 kB / 0.7608 GB, free: 10.71 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002552/0.2113, allocations: 1.306 MB / 0.7621 GB, free: 9.383 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2113, allocations: 3.938 kB / 0.7621 GB, free: 9.379 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001609/0.2129, allocations: 0.8781 MB / 0.763 GB, free: 8.469 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006245/0.2136, allocations: 74.3 kB / 0.7631 GB, free: 8.398 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002675/0.2163, allocations: 1.617 MB / 0.7646 GB, free: 6.75 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004982/0.2168, allocations: 0.9277 MB / 0.7655 GB, free: 5.797 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000281/0.2171, allocations: 55.42 kB / 0.7656 GB, free: 5.746 MB / 0.545 GB Notification: Performance of SimCode: time 7.71e-07/0.2171, allocations: 4 kB / 0.7656 GB, free: 5.742 MB / 0.545 GB Notification: Performance of Templates: time 0.01761/0.2347, allocations: 14.9 MB / 0.7801 GB, free: 6.863 MB / 0.5607 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)