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: "" <> buildModelFMU(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM,fileNamePrefix="OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainDPIM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM,fileNamePrefix="OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainDPIM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3462/0.3462, allocations: 78.54 MB / 94.17 MB, free: 3.727 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.001124/0.001125, allocations: 108.9 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.001409/0.001409, allocations: 195.8 kB / 133.4 MB, free: 6.137 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.283/1.283, allocations: 222.9 MB / 375.8 MB, free: 3.781 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.6299/0.6299, allocations: 62.26 MB / 0.4951 GB, free: 7.883 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 124.5 kB / 0.6436 GB, free: 14.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1161, allocations: 69.5 MB / 0.7115 GB, free: 13.98 MB / 0.4982 GB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM): time 0.004883/0.121, allocations: 4.668 MB / 0.7161 GB, free: 9.285 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.002064/0.1231, allocations: 1.391 MB / 0.7174 GB, free: 7.891 MB / 0.4982 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000206/0.1233, allocations: 7.938 kB / 0.7174 GB, free: 7.883 MB / 0.4982 GB Notification: Performance of NFTyping.typeComponents: time 0.0002954/0.1237, allocations: 130.8 kB / 0.7176 GB, free: 7.754 MB / 0.4982 GB Notification: Performance of NFTyping.typeBindings: time 0.0004648/0.1241, allocations: 282 kB / 0.7178 GB, free: 7.477 MB / 0.4982 GB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.1251, allocations: 0.6037 MB / 0.7184 GB, free: 6.871 MB / 0.4982 GB Notification: Performance of NFFlatten.flatten: time 0.0008113/0.126, allocations: 1.049 MB / 0.7194 GB, free: 5.816 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002499/0.1262, allocations: 184.1 kB / 0.7196 GB, free: 5.625 MB / 0.4982 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003649/0.1266, allocations: 430.5 kB / 0.72 GB, free: 5.203 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000586/0.1272, allocations: 0.5331 MB / 0.7206 GB, free: 4.668 MB / 0.4982 GB Notification: Performance of NFPackage.collectConstants: time 0.0001148/0.1273, allocations: 92 kB / 0.7206 GB, free: 4.578 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002496/0.1276, allocations: 152 kB / 0.7208 GB, free: 4.43 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.000176/0.1278, allocations: 219.2 kB / 0.721 GB, free: 4.215 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.0003407/0.1281, allocations: 425.8 kB / 0.7214 GB, free: 3.797 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.0009033/0.129, allocations: 1.025 MB / 0.7224 GB, free: 2.77 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.129, allocations: 0 / 0.7224 GB, free: 2.77 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.082e-06/0.129, allocations: 0 / 0.7224 GB, free: 2.77 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 8.726e-06/0.129, allocations: 0 / 0.7224 GB, free: 2.77 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.003702/0.1328, allocations: 1.411 MB / 0.7238 GB, free: 1.305 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.1328, allocations: 8.031 kB / 0.7238 GB, free: 1.297 MB / 0.4982 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001121/0.1329, allocations: 98.69 kB / 0.7239 GB, free: 1.191 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009415/0.1339, allocations: 203.8 kB / 0.7241 GB, free: 0.9922 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000681/0.1346, allocations: 0.5338 MB / 0.7246 GB, free: 424 kB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.842e-05/0.1347, allocations: 71.02 kB / 0.7247 GB, free: 348 kB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.1348, allocations: 63.92 kB / 0.7247 GB, free: 284 kB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.136, allocations: 0.7605 MB / 0.7255 GB, free: 15.49 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.1361, allocations: 7.906 kB / 0.7255 GB, free: 15.48 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.101e-05/0.1361, allocations: 24 kB / 0.7255 GB, free: 15.46 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.1361, allocations: 23.98 kB / 0.7255 GB, free: 15.43 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001584/0.1377, allocations: 0.8326 MB / 0.7263 GB, free: 14.6 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004342/0.1421, allocations: 2.84 MB / 0.7291 GB, free: 11.64 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/0.1438, allocations: 1.131 MB / 0.7302 GB, free: 10.42 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007114/0.1446, allocations: 439.5 kB / 0.7306 GB, free: 9.984 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 8.492e-05/0.1447, allocations: 20.64 kB / 0.7307 GB, free: 9.965 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.381e-05/0.1447, allocations: 47.22 kB / 0.7307 GB, free: 9.906 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=80): time 1.824e-06/0.1447, allocations: 0 / 0.7307 GB, free: 9.906 MB / 0.5138 GB Notification: Performance of matching and sorting (n=81): time 0.0102/0.1549, allocations: 3.89 MB / 0.7345 GB, free: 5.934 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.155, allocations: 89.7 kB / 0.7346 GB, free: 5.828 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005341/0.1555, allocations: 0.5224 MB / 0.7351 GB, free: 5.301 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 5.005e-05/0.1556, allocations: 37.7 kB / 0.7351 GB, free: 5.258 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.1557, allocations: 316.5 kB / 0.7354 GB, free: 4.941 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/0.1559, allocations: 275.9 kB / 0.7357 GB, free: 4.668 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002232/0.1562, allocations: 130.6 kB / 0.7358 GB, free: 4.535 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.1563, allocations: 374.8 kB / 0.7362 GB, free: 4.16 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006787/0.157, allocations: 361.8 kB / 0.7365 GB, free: 3.805 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007283/0.1577, allocations: 0.4888 MB / 0.737 GB, free: 3.27 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00143/0.1592, allocations: 0.8906 MB / 0.7379 GB, free: 2.332 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1592, allocations: 0 / 0.7379 GB, free: 2.332 MB / 0.5138 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004269/0.1635, allocations: 1.715 MB / 0.7395 GB, free: 0.5977 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.1635, allocations: 8 kB / 0.7396 GB, free: 0.5898 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.1635, allocations: 7.938 kB / 0.7396 GB, free: 0.582 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002049/0.1656, allocations: 0.5789 MB / 0.7401 GB, free: 0 / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007021/0.1663, allocations: 135.8 kB / 0.7403 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008331/0.1746, allocations: 5.765 MB / 0.7459 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000812/0.1755, allocations: 48.03 kB / 0.7459 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.378e-05/0.1755, allocations: 28 kB / 0.746 GB, free: 9.738 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.0002852/0.1758, allocations: 189.7 kB / 0.7461 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.176, allocations: 75.14 kB / 0.7462 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004179/0.1802, allocations: 1.7 MB / 0.7479 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/0.1802, allocations: 8 kB / 0.7479 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1802, allocations: 4 kB / 0.7479 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.1802, allocations: 7.984 kB / 0.7479 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005362/0.1856, allocations: 2.663 MB / 0.7505 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.1856, allocations: 4 kB / 0.7505 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006862/0.1863, allocations: 119.8 kB / 0.7506 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001795/0.1881, allocations: 0.5498 MB / 0.7511 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.975e-05/0.1882, allocations: 19.94 kB / 0.7512 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007092/0.1953, allocations: 5.35 MB / 0.7564 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1953, allocations: 0 / 0.7564 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004964/0.2002, allocations: 2.329 MB / 0.7587 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.2004, allocations: 148.3 kB / 0.7588 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.705e-05/0.2005, allocations: 12 kB / 0.7588 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007/0.2012, allocations: 43.97 kB / 0.7589 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002146/0.2014, allocations: 84.53 kB / 0.7589 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.147e-05/0.2015, allocations: 27.88 kB / 0.759 GB, free: 11.98 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003993/0.2019, allocations: 378.8 kB / 0.7593 GB, free: 11.61 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2019, allocations: 0 / 0.7593 GB, free: 11.61 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000742/0.2026, allocations: 252 kB / 0.7596 GB, free: 11.36 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.005245/0.2079, allocations: 2.886 MB / 0.7624 GB, free: 8.445 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002409/0.2103, allocations: 1.306 MB / 0.7637 GB, free: 7.113 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2103, allocations: 0 / 0.7637 GB, free: 7.113 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001518/0.2119, allocations: 0.8743 MB / 0.7645 GB, free: 6.211 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005916/0.2125, allocations: 89.86 kB / 0.7646 GB, free: 6.125 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01394/0.2264, allocations: 8.083 MB / 0.7725 GB, free: 13.84 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004339/0.2269, allocations: 0.9278 MB / 0.7734 GB, free: 12.88 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.0003412/0.2272, allocations: 77.03 kB / 0.7735 GB, free: 12.81 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003745/0.2276, allocations: 251.3 kB / 0.7737 GB, free: 12.57 MB / 0.5607 GB Notification: Performance of SimCode: time 6.61e-07/0.2276, allocations: 7.938 kB / 0.7737 GB, free: 12.56 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04377/0.2714, allocations: 18.14 MB / 0.7914 GB, free: 10.66 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/12.57, allocations: 15.52 kB / 0.7914 GB, free: 10.64 MB / 0.5763 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainDPIM_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainDPIM.fmu > OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.pipe 2>&1)