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.3504/0.3504, allocations: 78.57 MB / 93.84 MB, free: 4.352 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.0007357/0.0007357, allocations: 81.42 kB / 113.6 MB, free: 10.14 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.0008595/0.0008594, allocations: 173.4 kB / 133.4 MB, free: 6.309 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.28/1.28, allocations: 223.3 MB / 376.4 MB, free: 460 kB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.579/0.579, allocations: 62.18 MB / 0.4967 GB, free: 5.355 MB / 382.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004817/0.0004817, allocations: 19.95 kB / 0.5777 GB, free: 62.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08726/0.08776, allocations: 70.71 MB / 0.6468 GB, free: 9.055 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM): time 0.003143/0.09093, allocations: 4.416 MB / 0.6511 GB, free: 4.613 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.09251, allocations: 1.379 MB / 0.6524 GB, free: 3.234 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001841/0.09271, allocations: 4 kB / 0.6524 GB, free: 3.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002355/0.09295, allocations: 111.3 kB / 0.6525 GB, free: 3.121 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00039/0.09335, allocations: 226.5 kB / 0.6528 GB, free: 2.898 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008088/0.09417, allocations: 0.556 MB / 0.6533 GB, free: 2.344 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005736/0.09475, allocations: 0.9984 MB / 0.6543 GB, free: 1.344 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001994/0.09496, allocations: 158.2 kB / 0.6544 GB, free: 1.164 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002671/0.09524, allocations: 374.4 kB / 0.6548 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000449/0.09569, allocations: 0.4901 MB / 0.6553 GB, free: 312 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.786e-05/0.09578, allocations: 44 kB / 0.6553 GB, free: 268 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000182/0.09597, allocations: 111.9 kB / 0.6554 GB, free: 156 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.0961, allocations: 159.3 kB / 0.6556 GB, free: 15.99 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003273/0.09644, allocations: 419.4 kB / 0.656 GB, free: 15.58 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007809/0.09723, allocations: 0.9456 MB / 0.6569 GB, free: 14.63 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.09724, allocations: 4 kB / 0.6569 GB, free: 14.62 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.09725, allocations: 0 / 0.6569 GB, free: 14.62 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.09726, allocations: 0 / 0.6569 GB, free: 14.62 MB / 462.1 MB 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.003864/0.1011, allocations: 1.306 MB / 0.6582 GB, free: 13.27 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.1012, allocations: 12.03 kB / 0.6582 GB, free: 13.26 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001255/0.1013, allocations: 98.69 kB / 0.6583 GB, free: 13.15 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.1023, allocations: 199.8 kB / 0.6585 GB, free: 12.96 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006625/0.103, allocations: 0.5338 MB / 0.659 GB, free: 12.38 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-05/0.1031, allocations: 71.02 kB / 0.659 GB, free: 12.31 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.1032, allocations: 60 kB / 0.6591 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/0.1047, allocations: 0.7918 MB / 0.6599 GB, free: 11.43 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.1047, allocations: 3.984 kB / 0.6599 GB, free: 11.43 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.111e-05/0.1048, allocations: 24 kB / 0.6599 GB, free: 11.4 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.1048, allocations: 16 kB / 0.6599 GB, free: 11.39 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001807/0.1066, allocations: 0.8873 MB / 0.6608 GB, free: 10.5 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004475/0.1111, allocations: 2.871 MB / 0.6636 GB, free: 7.508 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001975/0.1131, allocations: 1.166 MB / 0.6647 GB, free: 6.25 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008466/0.1139, allocations: 467.6 kB / 0.6652 GB, free: 5.789 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.481e-05/0.114, allocations: 20.62 kB / 0.6652 GB, free: 5.77 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.114, allocations: 39.22 kB / 0.6652 GB, free: 5.719 MB / 462.1 MB Notification: Performance of pre-optimization done (n=80): time 1.974e-06/0.1141, allocations: 4 kB / 0.6652 GB, free: 5.715 MB / 462.1 MB Notification: Performance of matching and sorting (n=81): time 0.01239/0.1265, allocations: 4.293 MB / 0.6694 GB, free: 1.348 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.1265, allocations: 89.77 kB / 0.6695 GB, free: 1.242 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005893/0.1271, allocations: 0.5262 MB / 0.67 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.974e-05/0.1272, allocations: 37.7 kB / 0.6701 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.1274, allocations: 300.7 kB / 0.6703 GB, free: 372 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002136/0.1276, allocations: 287.8 kB / 0.6706 GB, free: 80 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.1277, allocations: 65.69 kB / 0.6707 GB, free: 8 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1279, allocations: 382.7 kB / 0.671 GB, free: 15.62 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008019/0.1287, allocations: 381.8 kB / 0.6714 GB, free: 15.25 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008847/0.1296, allocations: 0.5122 MB / 0.6719 GB, free: 14.69 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001727/0.1313, allocations: 0.9375 MB / 0.6728 GB, free: 13.7 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1313, allocations: 0 / 0.6728 GB, free: 13.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.005267/0.1366, allocations: 1.93 MB / 0.6747 GB, free: 11.76 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.1366, allocations: 9.406 kB / 0.6747 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.1366, allocations: 7.938 kB / 0.6747 GB, free: 11.74 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002413/0.1391, allocations: 0.6459 MB / 0.6754 GB, free: 11.09 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007231/0.1398, allocations: 139.8 kB / 0.6755 GB, free: 10.95 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008951/0.1488, allocations: 5.606 MB / 0.681 GB, free: 5.082 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008253/0.1496, allocations: 51.97 kB / 0.681 GB, free: 5.031 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-05/0.1497, allocations: 35.98 kB / 0.6811 GB, free: 4.996 MB / 478.1 MB 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.0002782/0.1499, allocations: 197.7 kB / 0.6812 GB, free: 4.793 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.1501, allocations: 67.16 kB / 0.6813 GB, free: 4.727 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00524/0.1553, allocations: 1.907 MB / 0.6832 GB, free: 2.805 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.1554, allocations: 8 kB / 0.6832 GB, free: 2.797 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.1554, allocations: 8.188 kB / 0.6832 GB, free: 2.789 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/0.1554, allocations: 3.984 kB / 0.6832 GB, free: 2.785 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006284/0.1617, allocations: 2.879 MB / 0.686 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.1617, allocations: 0 / 0.686 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007439/0.1624, allocations: 123.8 kB / 0.6861 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002228/0.1647, allocations: 0.6221 MB / 0.6867 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.767e-05/0.1648, allocations: 23.98 kB / 0.6867 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007824/0.1726, allocations: 5.144 MB / 0.6918 GB, free: 9.629 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1726, allocations: 3.984 kB / 0.6918 GB, free: 9.625 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006033/0.1786, allocations: 2.559 MB / 0.6943 GB, free: 7.039 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.1788, allocations: 148.3 kB / 0.6944 GB, free: 6.875 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.1789, allocations: 16 kB / 0.6944 GB, free: 6.859 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007835/0.1797, allocations: 51.97 kB / 0.6945 GB, free: 6.809 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002205/0.1799, allocations: 84.52 kB / 0.6946 GB, free: 6.727 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.275e-05/0.18, allocations: 20 kB / 0.6946 GB, free: 6.707 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004241/0.1804, allocations: 378.8 kB / 0.6949 GB, free: 6.34 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1804, allocations: 0 / 0.6949 GB, free: 6.34 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007735/0.1812, allocations: 248 kB / 0.6952 GB, free: 6.098 MB / 494.1 MB 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.006318/0.1875, allocations: 3.124 MB / 0.6982 GB, free: 2.945 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002766/0.1903, allocations: 1.381 MB / 0.6996 GB, free: 1.531 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.1903, allocations: 3.938 kB / 0.6996 GB, free: 1.527 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001819/0.1922, allocations: 0.9328 MB / 0.7005 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008132/0.193, allocations: 76.62 kB / 0.7006 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01692/0.2099, allocations: 9.111 MB / 0.7095 GB, free: 7.176 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004357/0.2104, allocations: 0.9239 MB / 0.7104 GB, free: 6.223 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.0004222/0.2108, allocations: 77.08 kB / 0.7104 GB, free: 6.148 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004058/0.2112, allocations: 255.3 kB / 0.7107 GB, free: 5.902 MB / 0.4982 GB Notification: Performance of SimCode: time 4.1e-07/0.2112, allocations: 0 / 0.7107 GB, free: 5.902 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02915/0.2404, allocations: 16.59 MB / 0.7269 GB, free: 5.578 MB / 0.5138 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/0.2406, allocations: 276.8 kB / 0.7271 GB, free: 5.203 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.063/2.304, allocations: 4 kB / 0.7271 GB, free: 5.199 MB / 0.5138 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)