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.4283/0.4283, allocations: 78.54 MB / 94.17 MB, free: 3.867 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.001035/0.001035, allocations: 100.8 kB / 113.7 MB, free: 9.785 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.001295/0.001295, allocations: 184.5 kB / 133.4 MB, free: 6.133 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.418/1.418, allocations: 222.9 MB / 375.8 MB, free: 3.777 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.773/0.773, allocations: 62.27 MB / 0.4951 GB, free: 7.875 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002243/0.002243, allocations: 136.4 kB / 0.6441 GB, free: 14.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1777, allocations: 69.5 MB / 0.712 GB, free: 13.51 MB / 0.4982 GB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM): time 0.006051/0.1838, allocations: 4.682 MB / 0.7166 GB, free: 8.805 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.00276/0.1866, allocations: 1.379 MB / 0.7179 GB, free: 7.422 MB / 0.4982 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002722/0.1869, allocations: 8 kB / 0.7179 GB, free: 7.414 MB / 0.4982 GB Notification: Performance of NFTyping.typeComponents: time 0.0003892/0.1873, allocations: 134.8 kB / 0.718 GB, free: 7.281 MB / 0.4982 GB Notification: Performance of NFTyping.typeBindings: time 0.0006167/0.1879, allocations: 274 kB / 0.7183 GB, free: 7.012 MB / 0.4982 GB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.1891, allocations: 0.6037 MB / 0.7189 GB, free: 6.406 MB / 0.4982 GB Notification: Performance of NFFlatten.flatten: time 0.001003/0.1902, allocations: 1.045 MB / 0.7199 GB, free: 5.355 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000309/0.1905, allocations: 181.2 kB / 0.7201 GB, free: 5.164 MB / 0.4982 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000467/0.191, allocations: 434.5 kB / 0.7205 GB, free: 4.738 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006898/0.1917, allocations: 0.5408 MB / 0.721 GB, free: 4.195 MB / 0.4982 GB Notification: Performance of NFPackage.collectConstants: time 0.0001275/0.1918, allocations: 92 kB / 0.7211 GB, free: 4.105 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002655/0.1921, allocations: 152 kB / 0.7213 GB, free: 3.957 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.0002034/0.1923, allocations: 215.2 kB / 0.7215 GB, free: 3.746 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.0004099/0.1927, allocations: 429.8 kB / 0.7219 GB, free: 3.324 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.1937, allocations: 1.024 MB / 0.7229 GB, free: 2.297 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1937, allocations: 0 / 0.7229 GB, free: 2.297 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.974e-06/0.1938, allocations: 0 / 0.7229 GB, free: 2.297 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.1938, allocations: 4 kB / 0.7229 GB, free: 2.293 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.00427/0.198, allocations: 1.411 MB / 0.7243 GB, free: 0.8281 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.1981, allocations: 8.031 kB / 0.7243 GB, free: 0.8203 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.1992, allocations: 203.8 kB / 0.7245 GB, free: 0.6211 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008357/0.2, allocations: 0.5223 MB / 0.725 GB, free: 56 kB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/0.2001, allocations: 82.94 kB / 0.725 GB, free: 15.97 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.2003, allocations: 64 kB / 0.7251 GB, free: 15.91 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.2018, allocations: 0.7567 MB / 0.7258 GB, free: 15.12 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/0.2018, allocations: 11.94 kB / 0.7259 GB, free: 15.11 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.98e-05/0.2019, allocations: 23.94 kB / 0.7259 GB, free: 15.09 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.2019, allocations: 16 kB / 0.7259 GB, free: 15.07 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001748/0.2037, allocations: 0.8327 MB / 0.7267 GB, free: 14.24 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004858/0.2085, allocations: 2.84 MB / 0.7295 GB, free: 11.28 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001982/0.2105, allocations: 1.132 MB / 0.7306 GB, free: 10.05 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008106/0.2114, allocations: 447.5 kB / 0.731 GB, free: 9.613 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 7.69e-05/0.2115, allocations: 8.656 kB / 0.731 GB, free: 9.605 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.2115, allocations: 43.16 kB / 0.7311 GB, free: 9.551 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=80): time 2.364e-06/0.2115, allocations: 0 / 0.7311 GB, free: 9.551 MB / 0.5138 GB Notification: Performance of matching and sorting (n=81): time 0.01169/0.2232, allocations: 3.886 MB / 0.7349 GB, free: 5.582 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/0.2233, allocations: 85.77 kB / 0.7349 GB, free: 5.48 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006877/0.224, allocations: 0.5301 MB / 0.7355 GB, free: 4.945 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 6.54e-05/0.224, allocations: 45.64 kB / 0.7355 GB, free: 4.895 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.000236/0.2243, allocations: 304.6 kB / 0.7358 GB, free: 4.59 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002866/0.2246, allocations: 279.9 kB / 0.7361 GB, free: 4.312 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002733/0.2249, allocations: 130.7 kB / 0.7362 GB, free: 4.18 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.225, allocations: 382.8 kB / 0.7366 GB, free: 3.797 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008004/0.2258, allocations: 357.8 kB / 0.7369 GB, free: 3.445 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008782/0.2267, allocations: 496.5 kB / 0.7374 GB, free: 2.914 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001706/0.2284, allocations: 0.8906 MB / 0.7382 GB, free: 1.977 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.2285, allocations: 0 / 0.7382 GB, free: 1.977 MB / 0.5138 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004893/0.2334, allocations: 1.723 MB / 0.7399 GB, free: 240 kB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.2334, allocations: 8 kB / 0.7399 GB, free: 232 kB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.2334, allocations: 8.25 kB / 0.7399 GB, free: 224 kB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002306/0.2357, allocations: 0.5791 MB / 0.7405 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007479/0.2365, allocations: 127.8 kB / 0.7406 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009635/0.2461, allocations: 5.774 MB / 0.7463 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008438/0.247, allocations: 47.97 kB / 0.7463 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.16e-05/0.2471, allocations: 27.98 kB / 0.7463 GB, free: 9.375 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.0003438/0.2474, allocations: 195.1 kB / 0.7465 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001907/0.2476, allocations: 71.16 kB / 0.7466 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005097/0.2527, allocations: 1.696 MB / 0.7482 GB, free: 7.391 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.2527, allocations: 11.94 kB / 0.7483 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.501e-05/0.2528, allocations: 4 kB / 0.7483 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/0.2528, allocations: 7.984 kB / 0.7483 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006211/0.259, allocations: 2.659 MB / 0.7509 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.259, allocations: 0 / 0.7509 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007558/0.2598, allocations: 115.9 kB / 0.751 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002077/0.2619, allocations: 0.5519 MB / 0.7515 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-05/0.2619, allocations: 15.94 kB / 0.7515 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00859/0.2705, allocations: 5.366 MB / 0.7568 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.2706, allocations: 0 / 0.7568 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005798/0.2764, allocations: 2.326 MB / 0.759 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002141/0.2766, allocations: 148.3 kB / 0.7592 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/0.2768, allocations: 16.31 kB / 0.7592 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008128/0.2776, allocations: 39.97 kB / 0.7592 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000261/0.2779, allocations: 88.47 kB / 0.7593 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-05/0.2779, allocations: 27.98 kB / 0.7593 GB, free: 11.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005446/0.2785, allocations: 382.8 kB / 0.7597 GB, free: 11.23 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.914e-06/0.2785, allocations: 4 kB / 0.7597 GB, free: 11.23 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001019/0.2795, allocations: 247.9 kB / 0.76 GB, free: 10.98 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.0002277/0.2798, allocations: 119.2 kB / 0.7601 GB, free: 10.86 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002944/0.2827, allocations: 1.299 MB / 0.7613 GB, free: 9.535 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.2827, allocations: 4 kB / 0.7613 GB, free: 9.531 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001822/0.2846, allocations: 0.8703 MB / 0.7622 GB, free: 8.629 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007184/0.2853, allocations: 78.3 kB / 0.7623 GB, free: 8.555 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002874/0.2882, allocations: 1.554 MB / 0.7638 GB, free: 6.98 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005725/0.2888, allocations: 0.9239 MB / 0.7647 GB, free: 6.031 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004027/0.2892, allocations: 81.08 kB / 0.7648 GB, free: 5.949 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002234/0.2894, allocations: 51.42 kB / 0.7648 GB, free: 5.902 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.2894, allocations: 0 / 0.7648 GB, free: 5.902 MB / 0.545 GB Notification: Performance of Templates: time 0.021/0.3104, allocations: 11.93 MB / 0.7765 GB, free: 10.03 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)