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.3886/0.3886, allocations: 78.54 MB / 94.17 MB, free: 4.082 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.001898/0.001899, allocations: 111.8 kB / 113.7 MB, free: 9.812 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.001452/0.001452, allocations: 184.5 kB / 133.4 MB, free: 6.16 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.447/1.447, allocations: 222.9 MB / 375.8 MB, free: 3.773 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.7043/0.7043, allocations: 62.53 MB / 0.4953 GB, free: 8.207 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 122.3 kB / 0.6444 GB, free: 14.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.133, allocations: 69.51 MB / 0.7123 GB, free: 13.17 MB / 0.4982 GB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM): time 0.006096/0.1391, allocations: 4.665 MB / 0.7168 GB, free: 8.48 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.003171/0.1424, allocations: 1.383 MB / 0.7182 GB, free: 7.094 MB / 0.4982 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000598/0.143, allocations: 11.94 kB / 0.7182 GB, free: 7.082 MB / 0.4982 GB Notification: Performance of NFTyping.typeComponents: time 0.0004908/0.1435, allocations: 130.8 kB / 0.7183 GB, free: 6.953 MB / 0.4982 GB Notification: Performance of NFTyping.typeBindings: time 0.0008461/0.1444, allocations: 274 kB / 0.7186 GB, free: 6.684 MB / 0.4982 GB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.1458, allocations: 0.6102 MB / 0.7192 GB, free: 6.074 MB / 0.4982 GB Notification: Performance of NFFlatten.flatten: time 0.00109/0.1469, allocations: 1.049 MB / 0.7202 GB, free: 5.02 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003711/0.1473, allocations: 173.3 kB / 0.7203 GB, free: 4.836 MB / 0.4982 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004533/0.1477, allocations: 430.5 kB / 0.7208 GB, free: 4.414 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006445/0.1484, allocations: 0.5487 MB / 0.7213 GB, free: 3.863 MB / 0.4982 GB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.1485, allocations: 88 kB / 0.7214 GB, free: 3.777 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002624/0.1488, allocations: 148 kB / 0.7215 GB, free: 3.633 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.0001866/0.149, allocations: 219.2 kB / 0.7217 GB, free: 3.418 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.0005563/0.1495, allocations: 425.8 kB / 0.7221 GB, free: 3 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.001491/0.151, allocations: 1.031 MB / 0.7231 GB, free: 1.965 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1511, allocations: 0 / 0.7231 GB, free: 1.965 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1511, allocations: 0 / 0.7231 GB, free: 1.965 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 1.497e-05/0.1511, allocations: 0 / 0.7231 GB, free: 1.965 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.004162/0.1552, allocations: 1.433 MB / 0.7245 GB, free: 488 kB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.1553, allocations: 8.031 kB / 0.7245 GB, free: 480 kB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.1564, allocations: 208.2 kB / 0.7247 GB, free: 272 kB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008477/0.1572, allocations: 0.5344 MB / 0.7253 GB, free: 15.69 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.1573, allocations: 79 kB / 0.7253 GB, free: 15.61 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.1575, allocations: 52 kB / 0.7254 GB, free: 15.55 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.1589, allocations: 0.7683 MB / 0.7261 GB, free: 14.76 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.1589, allocations: 11.94 kB / 0.7262 GB, free: 14.75 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.732e-05/0.159, allocations: 24 kB / 0.7262 GB, free: 14.72 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.159, allocations: 20 kB / 0.7262 GB, free: 14.7 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001814/0.1608, allocations: 0.8288 MB / 0.727 GB, free: 13.88 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005041/0.1659, allocations: 2.86 MB / 0.7298 GB, free: 10.89 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002018/0.1679, allocations: 1.12 MB / 0.7309 GB, free: 9.684 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000858/0.1688, allocations: 447.5 kB / 0.7313 GB, free: 9.242 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 9.572e-05/0.1689, allocations: 24.62 kB / 0.7313 GB, free: 9.219 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.1689, allocations: 39.22 kB / 0.7314 GB, free: 9.168 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=80): time 2.715e-06/0.1689, allocations: 0 / 0.7314 GB, free: 9.168 MB / 0.5138 GB Notification: Performance of matching and sorting (n=81): time 0.01152/0.1805, allocations: 3.904 MB / 0.7352 GB, free: 5.184 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.797e-05/0.1806, allocations: 85.77 kB / 0.7353 GB, free: 5.082 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007109/0.1813, allocations: 0.534 MB / 0.7358 GB, free: 4.543 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 8.552e-05/0.1814, allocations: 41.7 kB / 0.7358 GB, free: 4.496 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002126/0.1816, allocations: 309.1 kB / 0.7361 GB, free: 4.188 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002489/0.1819, allocations: 293.4 kB / 0.7364 GB, free: 3.898 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002736/0.1822, allocations: 130.6 kB / 0.7365 GB, free: 3.766 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0002587/0.1824, allocations: 382.8 kB / 0.7369 GB, free: 3.383 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000753/0.1832, allocations: 357.8 kB / 0.7372 GB, free: 3.031 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009647/0.1842, allocations: 496.5 kB / 0.7377 GB, free: 2.5 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001647/0.1858, allocations: 0.8945 MB / 0.7386 GB, free: 1.559 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.1858, allocations: 0 / 0.7386 GB, free: 1.559 MB / 0.5138 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004933/0.1908, allocations: 1.716 MB / 0.7403 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.1908, allocations: 8 kB / 0.7403 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.1908, allocations: 4 kB / 0.7403 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00231/0.1932, allocations: 0.5865 MB / 0.7408 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000781/0.194, allocations: 127.8 kB / 0.741 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009676/0.2036, allocations: 5.769 MB / 0.7466 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000999/0.2047, allocations: 47.97 kB / 0.7466 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001469/0.2048, allocations: 27.98 kB / 0.7467 GB, free: 8.969 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.0004409/0.2053, allocations: 198.9 kB / 0.7469 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000247/0.2055, allocations: 75.53 kB / 0.7469 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004729/0.2103, allocations: 1.697 MB / 0.7486 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/0.2103, allocations: 12.03 kB / 0.7486 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.399e-05/0.2103, allocations: 4 kB / 0.7486 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/0.2104, allocations: 11.97 kB / 0.7486 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006317/0.2167, allocations: 2.663 MB / 0.7512 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/0.2167, allocations: 4 kB / 0.7512 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007433/0.2175, allocations: 115.8 kB / 0.7513 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002021/0.2195, allocations: 0.5498 MB / 0.7519 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001001/0.2196, allocations: 19.98 kB / 0.7519 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008358/0.228, allocations: 5.362 MB / 0.7571 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.228, allocations: 0 / 0.7571 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007003/0.235, allocations: 2.322 MB / 0.7594 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004248/0.2355, allocations: 152.7 kB / 0.7595 GB, free: 11.35 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003317/0.2359, allocations: 20.31 kB / 0.7596 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/0.2372, allocations: 35.97 kB / 0.7596 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004944/0.2378, allocations: 84.53 kB / 0.7597 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001308/0.2379, allocations: 24 kB / 0.7597 GB, free: 11.19 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000832/0.2388, allocations: 382.8 kB / 0.7601 GB, free: 10.82 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2388, allocations: 3.938 kB / 0.7601 GB, free: 10.82 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001644/0.2404, allocations: 256 kB / 0.7603 GB, free: 10.57 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.0003091/0.2408, allocations: 123.1 kB / 0.7604 GB, free: 10.44 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00444/0.2452, allocations: 1.314 MB / 0.7617 GB, free: 9.098 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.2452, allocations: 0 / 0.7617 GB, free: 9.098 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002888/0.2481, allocations: 0.8742 MB / 0.7626 GB, free: 8.191 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/0.2495, allocations: 78.23 kB / 0.7626 GB, free: 8.117 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004643/0.2542, allocations: 1.588 MB / 0.7642 GB, free: 6.504 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008212/0.255, allocations: 0.9277 MB / 0.7651 GB, free: 5.551 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007123/0.2557, allocations: 73.09 kB / 0.7652 GB, free: 5.477 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003535/0.2561, allocations: 51.42 kB / 0.7652 GB, free: 5.43 MB / 0.545 GB Notification: Performance of SimCode: time 1.512e-06/0.2561, allocations: 4 kB / 0.7652 GB, free: 5.426 MB / 0.545 GB Notification: Performance of Templates: time 0.03416/0.2903, allocations: 11.93 MB / 0.7769 GB, free: 9.543 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)