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.4095/0.4095, allocations: 78.53 MB / 94.17 MB, free: 3.914 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.001118/0.001117, allocations: 111.3 kB / 113.7 MB, free: 9.805 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.001241/0.001242, allocations: 187.6 kB / 133.4 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.374/1.374, allocations: 222.9 MB / 375.8 MB, free: 3.754 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.6845/0.6845, allocations: 62.25 MB / 0.4951 GB, free: 7.859 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 123.7 kB / 0.6441 GB, free: 14.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1462, allocations: 69.51 MB / 0.712 GB, free: 13.46 MB / 0.4982 GB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM): time 0.005985/0.1522, allocations: 4.665 MB / 0.7165 GB, free: 8.766 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.002634/0.1549, allocations: 1.387 MB / 0.7179 GB, free: 7.375 MB / 0.4982 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003019/0.1552, allocations: 8 kB / 0.7179 GB, free: 7.367 MB / 0.4982 GB Notification: Performance of NFTyping.typeComponents: time 0.0004088/0.1556, allocations: 130.8 kB / 0.718 GB, free: 7.238 MB / 0.4982 GB Notification: Performance of NFTyping.typeBindings: time 0.0006063/0.1563, allocations: 262 kB / 0.7183 GB, free: 6.98 MB / 0.4982 GB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.1575, allocations: 0.6063 MB / 0.7189 GB, free: 6.375 MB / 0.4982 GB Notification: Performance of NFFlatten.flatten: time 0.001063/0.1586, allocations: 1.045 MB / 0.7199 GB, free: 5.324 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00031/0.1589, allocations: 181.3 kB / 0.7201 GB, free: 5.133 MB / 0.4982 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005368/0.1595, allocations: 434.5 kB / 0.7205 GB, free: 4.707 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000726/0.1602, allocations: 0.5253 MB / 0.721 GB, free: 4.18 MB / 0.4982 GB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.1603, allocations: 96 kB / 0.7211 GB, free: 4.086 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002902/0.1606, allocations: 155.9 kB / 0.7212 GB, free: 3.934 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.0002028/0.1609, allocations: 215.2 kB / 0.7214 GB, free: 3.723 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.000397/0.1613, allocations: 433.8 kB / 0.7219 GB, free: 3.297 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.001069/0.1623, allocations: 1.023 MB / 0.7229 GB, free: 2.27 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1624, allocations: 0 / 0.7229 GB, free: 2.27 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1624, allocations: 0 / 0.7229 GB, free: 2.27 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.1624, allocations: 0 / 0.7229 GB, free: 2.27 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.004075/0.1665, allocations: 1.441 MB / 0.7243 GB, free: 0.7734 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.1665, allocations: 8.031 kB / 0.7243 GB, free: 0.7656 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/0.1675, allocations: 208.2 kB / 0.7245 GB, free: 0.5625 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000809/0.1683, allocations: 0.5346 MB / 0.725 GB, free: 15.98 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.1685, allocations: 71.02 kB / 0.7251 GB, free: 15.91 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.1686, allocations: 56 kB / 0.7251 GB, free: 15.85 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.17, allocations: 0.7644 MB / 0.7259 GB, free: 15.06 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/0.17, allocations: 0 / 0.7259 GB, free: 15.06 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.569e-05/0.1701, allocations: 35.92 kB / 0.7259 GB, free: 15.02 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.1701, allocations: 12 kB / 0.7259 GB, free: 15.01 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/0.1718, allocations: 0.8365 MB / 0.7267 GB, free: 14.18 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004855/0.1767, allocations: 2.856 MB / 0.7295 GB, free: 11.2 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002018/0.1787, allocations: 1.128 MB / 0.7306 GB, free: 9.984 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007877/0.1795, allocations: 443.5 kB / 0.731 GB, free: 9.547 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 9.089e-05/0.1796, allocations: 8.656 kB / 0.731 GB, free: 9.539 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/0.1797, allocations: 47.2 kB / 0.7311 GB, free: 9.48 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=80): time 3.286e-06/0.1797, allocations: 3.984 kB / 0.7311 GB, free: 9.477 MB / 0.5138 GB Notification: Performance of matching and sorting (n=81): time 0.01143/0.1911, allocations: 3.9 MB / 0.7349 GB, free: 5.496 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/0.1912, allocations: 89.77 kB / 0.735 GB, free: 5.391 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006254/0.1918, allocations: 0.5224 MB / 0.7355 GB, free: 4.863 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 5.412e-05/0.1919, allocations: 45.64 kB / 0.7355 GB, free: 4.812 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002124/0.1921, allocations: 313.1 kB / 0.7358 GB, free: 4.5 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002192/0.1923, allocations: 297.4 kB / 0.7361 GB, free: 4.207 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002408/0.1926, allocations: 126.6 kB / 0.7362 GB, free: 4.078 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.1928, allocations: 378.8 kB / 0.7366 GB, free: 3.699 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007461/0.1935, allocations: 361.8 kB / 0.7369 GB, free: 3.344 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008342/0.1944, allocations: 0.4927 MB / 0.7374 GB, free: 2.805 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001595/0.196, allocations: 0.8906 MB / 0.7383 GB, free: 1.867 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.196, allocations: 0 / 0.7383 GB, free: 1.867 MB / 0.5138 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004689/0.2007, allocations: 1.72 MB / 0.74 GB, free: 132 kB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.2007, allocations: 8 kB / 0.74 GB, free: 124 kB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.2007, allocations: 4 kB / 0.74 GB, free: 120 kB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002231/0.2029, allocations: 0.5823 MB / 0.7406 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007094/0.2037, allocations: 135.8 kB / 0.7407 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009187/0.2129, allocations: 5.758 MB / 0.7463 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008263/0.2137, allocations: 52.02 kB / 0.7464 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-05/0.2138, allocations: 32 kB / 0.7464 GB, free: 9.27 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.0003186/0.2141, allocations: 195 kB / 0.7466 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.2143, allocations: 71.53 kB / 0.7466 GB, free: 9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004807/0.2191, allocations: 1.708 MB / 0.7483 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.2191, allocations: 11.94 kB / 0.7483 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.2191, allocations: 4 kB / 0.7483 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.2191, allocations: 4.078 kB / 0.7483 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005919/0.2251, allocations: 2.667 MB / 0.7509 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.2251, allocations: 192 / 0.7509 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007015/0.2258, allocations: 115.9 kB / 0.751 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002007/0.2278, allocations: 0.5494 MB / 0.7516 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.256e-05/0.2279, allocations: 20 kB / 0.7516 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008188/0.2361, allocations: 5.359 MB / 0.7568 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.2361, allocations: 7.969 kB / 0.7568 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005668/0.2418, allocations: 2.318 MB / 0.7591 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002279/0.242, allocations: 148.7 kB / 0.7592 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/0.2421, allocations: 12 kB / 0.7593 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007481/0.2429, allocations: 51.95 kB / 0.7593 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002441/0.2432, allocations: 84.53 kB / 0.7594 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.489e-05/0.2432, allocations: 20 kB / 0.7594 GB, free: 11.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004868/0.2437, allocations: 382.8 kB / 0.7598 GB, free: 11.12 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.445e-06/0.2437, allocations: 0 / 0.7598 GB, free: 11.12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008823/0.2446, allocations: 251.9 kB / 0.76 GB, free: 10.88 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.0001908/0.2448, allocations: 123.1 kB / 0.7601 GB, free: 10.75 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002779/0.2476, allocations: 1.314 MB / 0.7614 GB, free: 9.41 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2476, allocations: 3.938 kB / 0.7614 GB, free: 9.406 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001771/0.2494, allocations: 0.882 MB / 0.7623 GB, free: 8.492 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006558/0.2501, allocations: 74.3 kB / 0.7624 GB, free: 8.422 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002896/0.253, allocations: 1.586 MB / 0.7639 GB, free: 6.812 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006106/0.2536, allocations: 0.9277 MB / 0.7648 GB, free: 5.859 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003933/0.254, allocations: 77.08 kB / 0.7649 GB, free: 5.781 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002408/0.2542, allocations: 43.44 kB / 0.7649 GB, free: 5.742 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.2542, allocations: 0 / 0.7649 GB, free: 5.742 MB / 0.545 GB Notification: Performance of Templates: time 0.02179/0.276, allocations: 11.94 MB / 0.7766 GB, free: 9.852 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)