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 8.519/8.519, allocations: 78.54 MB / 94.18 MB, free: 3.918 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.001175/0.001175, allocations: 113.7 kB / 113.7 MB, free: 9.793 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.001333/0.001333, allocations: 191.2 kB / 133.4 MB, free: 6.152 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.461/1.461, allocations: 222.9 MB / 375.8 MB, free: 3.797 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 1.277/1.277, allocations: 62.26 MB / 0.4951 GB, free: 7.82 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003613/0.003613, allocations: 129.3 kB / 0.6436 GB, free: 14.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1252, allocations: 69.5 MB / 0.7115 GB, free: 13.99 MB / 0.4982 GB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM): time 0.006065/0.1313, allocations: 4.666 MB / 0.7161 GB, free: 9.305 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.002452/0.1338, allocations: 1.391 MB / 0.7174 GB, free: 7.91 MB / 0.4982 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000217/0.134, allocations: 4 kB / 0.7174 GB, free: 7.906 MB / 0.4982 GB Notification: Performance of NFTyping.typeComponents: time 0.0003593/0.1343, allocations: 138.8 kB / 0.7176 GB, free: 7.77 MB / 0.4982 GB Notification: Performance of NFTyping.typeBindings: time 0.0005316/0.1349, allocations: 262 kB / 0.7178 GB, free: 7.512 MB / 0.4982 GB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.1361, allocations: 0.6075 MB / 0.7184 GB, free: 6.902 MB / 0.4982 GB Notification: Performance of NFFlatten.flatten: time 0.001051/0.1371, allocations: 1.045 MB / 0.7194 GB, free: 5.852 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003058/0.1375, allocations: 181.3 kB / 0.7196 GB, free: 5.66 MB / 0.4982 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004803/0.1379, allocations: 426.5 kB / 0.72 GB, free: 5.242 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007361/0.1387, allocations: 0.5331 MB / 0.7205 GB, free: 4.707 MB / 0.4982 GB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.1388, allocations: 95.98 kB / 0.7206 GB, free: 4.613 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002867/0.1391, allocations: 152 kB / 0.7208 GB, free: 4.465 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.0002129/0.1394, allocations: 219.2 kB / 0.721 GB, free: 4.25 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.0004237/0.1398, allocations: 425.8 kB / 0.7214 GB, free: 3.832 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.1409, allocations: 1.031 MB / 0.7224 GB, free: 2.797 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1409, allocations: 3.984 kB / 0.7224 GB, free: 2.793 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.203e-06/0.141, allocations: 0 / 0.7224 GB, free: 2.793 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.141, allocations: 0 / 0.7224 GB, free: 2.793 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.1452, allocations: 1.429 MB / 0.7238 GB, free: 1.309 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.1453, allocations: 8.031 kB / 0.7238 GB, free: 1.301 MB / 0.4982 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001356/0.1454, allocations: 98.7 kB / 0.7239 GB, free: 1.195 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.1465, allocations: 212.2 kB / 0.7241 GB, free: 0.9883 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008183/0.1473, allocations: 0.5343 MB / 0.7246 GB, free: 420 kB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.1474, allocations: 79 kB / 0.7247 GB, free: 336 kB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.1476, allocations: 55.94 kB / 0.7247 GB, free: 280 kB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.1491, allocations: 0.7645 MB / 0.7255 GB, free: 15.48 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.1491, allocations: 0 / 0.7255 GB, free: 15.48 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.194e-05/0.1492, allocations: 28 kB / 0.7255 GB, free: 15.45 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.1492, allocations: 16 kB / 0.7255 GB, free: 15.43 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001881/0.1511, allocations: 0.8288 MB / 0.7263 GB, free: 14.61 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004928/0.156, allocations: 2.859 MB / 0.7291 GB, free: 11.63 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002134/0.1582, allocations: 1.128 MB / 0.7302 GB, free: 10.41 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008764/0.1591, allocations: 446.8 kB / 0.7307 GB, free: 9.973 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-05/0.1592, allocations: 12.59 kB / 0.7307 GB, free: 9.961 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/0.1592, allocations: 43.22 kB / 0.7307 GB, free: 9.906 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=80): time 1.893e-06/0.1592, allocations: 0 / 0.7307 GB, free: 9.906 MB / 0.5138 GB Notification: Performance of matching and sorting (n=81): time 0.01227/0.1715, allocations: 3.908 MB / 0.7345 GB, free: 5.918 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/0.1716, allocations: 85.77 kB / 0.7346 GB, free: 5.816 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006818/0.1723, allocations: 0.5263 MB / 0.7351 GB, free: 5.285 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 5.732e-05/0.1723, allocations: 37.7 kB / 0.7352 GB, free: 5.242 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002598/0.1726, allocations: 313.1 kB / 0.7355 GB, free: 4.93 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002628/0.1729, allocations: 297.4 kB / 0.7357 GB, free: 4.637 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002586/0.1732, allocations: 130.6 kB / 0.7359 GB, free: 4.504 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0002034/0.1734, allocations: 378.8 kB / 0.7362 GB, free: 4.125 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008208/0.1742, allocations: 361.8 kB / 0.7366 GB, free: 3.77 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000932/0.1751, allocations: 0.4888 MB / 0.7371 GB, free: 3.234 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001809/0.177, allocations: 0.8945 MB / 0.7379 GB, free: 2.293 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.177, allocations: 0 / 0.7379 GB, free: 2.293 MB / 0.5138 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.005248/0.1822, allocations: 1.72 MB / 0.7396 GB, free: 0.5547 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.1822, allocations: 10.66 kB / 0.7396 GB, free: 0.5469 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.1823, allocations: 7.938 kB / 0.7396 GB, free: 0.5391 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002405/0.1847, allocations: 0.5711 MB / 0.7402 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007446/0.1854, allocations: 135.8 kB / 0.7403 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01017/0.1956, allocations: 5.769 MB / 0.7459 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000815/0.1964, allocations: 48.03 kB / 0.746 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.522e-05/0.1965, allocations: 35.98 kB / 0.746 GB, free: 9.695 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.0002999/0.1968, allocations: 197.6 kB / 0.7462 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/0.197, allocations: 71.53 kB / 0.7463 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005192/0.2022, allocations: 1.704 MB / 0.7479 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.2022, allocations: 8 kB / 0.748 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.2022, allocations: 4 kB / 0.748 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.2022, allocations: 3.984 kB / 0.748 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006423/0.2087, allocations: 2.667 MB / 0.7506 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.2087, allocations: 192 / 0.7506 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007646/0.2095, allocations: 115.9 kB / 0.7507 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002201/0.2117, allocations: 0.5574 MB / 0.7512 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-05/0.2118, allocations: 19.94 kB / 0.7512 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00977/0.2215, allocations: 5.358 MB / 0.7565 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.2216, allocations: 3.984 kB / 0.7565 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006439/0.228, allocations: 2.318 MB / 0.7587 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002437/0.2283, allocations: 148.7 kB / 0.7589 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.2284, allocations: 15.94 kB / 0.7589 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007649/0.2292, allocations: 47.97 kB / 0.7589 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002765/0.2295, allocations: 84.53 kB / 0.759 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.148e-05/0.2295, allocations: 31.86 kB / 0.7591 GB, free: 11.91 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005083/0.23, allocations: 378.8 kB / 0.7594 GB, free: 11.54 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/0.23, allocations: 0 / 0.7594 GB, free: 11.54 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008623/0.2309, allocations: 248 kB / 0.7597 GB, free: 11.3 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.006391/0.2373, allocations: 2.89 MB / 0.7625 GB, free: 8.379 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003003/0.2403, allocations: 1.306 MB / 0.7637 GB, free: 7.047 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2404, allocations: 0 / 0.7637 GB, free: 7.047 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001932/0.2423, allocations: 0.8819 MB / 0.7646 GB, free: 6.137 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007528/0.2431, allocations: 82.22 kB / 0.7647 GB, free: 6.055 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01712/0.2602, allocations: 8.113 MB / 0.7726 GB, free: 13.74 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006255/0.2609, allocations: 0.9239 MB / 0.7735 GB, free: 12.79 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.0004001/0.2613, allocations: 81.02 kB / 0.7736 GB, free: 12.71 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004496/0.2617, allocations: 255.3 kB / 0.7738 GB, free: 12.46 MB / 0.5607 GB Notification: Performance of SimCode: time 6.22e-07/0.2617, allocations: 0 / 0.7738 GB, free: 12.46 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5593/0.821, allocations: 18.15 MB / 0.7916 GB, free: 10.55 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.29/15.12, allocations: 15.17 kB / 0.7916 GB, free: 10.53 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)