Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM.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.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM,fileNamePrefix="OpenIMDML_main_OpenIMDML_Examples_NonMultiDomainExamples_NonMultiDomainSinglePhaseInductionMotors_NonMultiDomainDPIM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM,fileNamePrefix="OpenIMDML_main_OpenIMDML_Examples_NonMultiDomainExamples_NonMultiDomainSinglePhaseInductionMotors_NonMultiDomainDPIM",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.3764/0.3764, allocations: 78.54 MB / 94.18 MB, free: 3.934 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.001239/0.001238, allocations: 112.7 kB / 113.7 MB, free: 9.816 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.001325/0.001325, allocations: 185.3 kB / 133.4 MB, free: 6.172 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.785 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.6983/0.6983, allocations: 62.26 MB / 0.4951 GB, free: 7.836 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002362/0.002362, allocations: 133.1 kB / 0.6436 GB, free: 14.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1538, allocations: 69.5 MB / 0.7115 GB, free: 13.98 MB / 0.4982 GB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM): time 0.005643/0.1595, allocations: 4.346 MB / 0.7158 GB, free: 9.609 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.002821/0.1624, allocations: 1.361 MB / 0.7171 GB, free: 8.246 MB / 0.4982 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002454/0.1626, allocations: 4 kB / 0.7171 GB, free: 8.242 MB / 0.4982 GB Notification: Performance of NFTyping.typeComponents: time 0.0003814/0.163, allocations: 142.8 kB / 0.7172 GB, free: 8.102 MB / 0.4982 GB Notification: Performance of NFTyping.typeBindings: time 0.0007149/0.1638, allocations: 294 kB / 0.7175 GB, free: 7.812 MB / 0.4982 GB Notification: Performance of NFTyping.typeClassSections: time 0.001459/0.1652, allocations: 0.6679 MB / 0.7182 GB, free: 7.148 MB / 0.4982 GB Notification: Performance of NFFlatten.flatten: time 0.0009255/0.1662, allocations: 1.033 MB / 0.7192 GB, free: 6.109 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004082/0.1666, allocations: 173 kB / 0.7193 GB, free: 5.926 MB / 0.4982 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000421/0.167, allocations: 430.4 kB / 0.7198 GB, free: 5.504 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007436/0.1678, allocations: 0.5681 MB / 0.7203 GB, free: 4.934 MB / 0.4982 GB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.1679, allocations: 88 kB / 0.7204 GB, free: 4.848 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003816/0.1683, allocations: 151.9 kB / 0.7205 GB, free: 4.699 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.0002149/0.1685, allocations: 223.1 kB / 0.7207 GB, free: 4.48 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.0003708/0.1689, allocations: 433.6 kB / 0.7212 GB, free: 4.055 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.17, allocations: 1.066 MB / 0.7222 GB, free: 2.984 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.17, allocations: 3.938 kB / 0.7222 GB, free: 2.98 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.583e-06/0.17, allocations: 4 kB / 0.7222 GB, free: 2.977 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.17, allocations: 0 / 0.7222 GB, free: 2.977 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.006095/0.1761, allocations: 1.769 MB / 0.7239 GB, free: 1.152 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.1761, allocations: 12.03 kB / 0.7239 GB, free: 1.141 MB / 0.4982 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001398/0.1763, allocations: 98.7 kB / 0.724 GB, free: 1.035 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002592/0.1789, allocations: 428 kB / 0.7245 GB, free: 0.6172 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009101/0.1798, allocations: 0.5534 MB / 0.725 GB, free: 20 kB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001839/0.18, allocations: 138.5 kB / 0.7251 GB, free: 15.86 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.1802, allocations: 52 kB / 0.7252 GB, free: 15.81 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001715/0.1819, allocations: 0.8625 MB / 0.726 GB, free: 14.93 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.1819, allocations: 0 / 0.726 GB, free: 14.93 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-05/0.182, allocations: 20 kB / 0.726 GB, free: 14.91 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.182, allocations: 16 kB / 0.726 GB, free: 14.9 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00204/0.184, allocations: 0.9694 MB / 0.727 GB, free: 13.93 MB / 0.5138 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003869/0.1879, allocations: 2.288 MB / 0.7292 GB, free: 11.53 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002161/0.1901, allocations: 1.242 MB / 0.7304 GB, free: 10.2 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001127/0.1912, allocations: 0.6191 MB / 0.731 GB, free: 9.574 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.1914, allocations: 9 kB / 0.7311 GB, free: 9.566 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.263e-05/0.1915, allocations: 47.5 kB / 0.7311 GB, free: 9.508 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=90): time 6.482e-06/0.1915, allocations: 0 / 0.7311 GB, free: 9.508 MB / 0.5138 GB Notification: Performance of matching and sorting (n=90): time 0.01782/0.2093, allocations: 4.732 MB / 0.7357 GB, free: 4.746 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.38e-05/0.2094, allocations: 86.22 kB / 0.7358 GB, free: 4.645 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007382/0.2102, allocations: 0.5459 MB / 0.7363 GB, free: 4.09 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0001043/0.2103, allocations: 37.7 kB / 0.7364 GB, free: 4.047 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002634/0.2106, allocations: 293.4 kB / 0.7367 GB, free: 3.758 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003649/0.211, allocations: 333.1 kB / 0.737 GB, free: 3.43 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002794/0.2113, allocations: 126.7 kB / 0.7371 GB, free: 3.297 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.2114, allocations: 386.7 kB / 0.7375 GB, free: 2.91 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/0.2124, allocations: 485.8 kB / 0.7379 GB, free: 2.438 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001144/0.2136, allocations: 0.5814 MB / 0.7385 GB, free: 1.824 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01848/0.2321, allocations: 3.983 MB / 0.7424 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.393e-06/0.2321, allocations: 0 / 0.7424 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.009409/0.2416, allocations: 2.859 MB / 0.7452 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.2416, allocations: 6.656 kB / 0.7452 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.2416, allocations: 4 kB / 0.7452 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004384/0.246, allocations: 1.159 MB / 0.7463 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008761/0.247, allocations: 115.8 kB / 0.7464 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0166/0.2636, allocations: 7.069 MB / 0.7533 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/0.265, allocations: 111.4 kB / 0.7534 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.2652, allocations: 28 kB / 0.7535 GB, free: 2.293 MB / 0.5294 GB Warning: Assuming fixed start value for the following 1 variables: DPIM.s:VARIABLE(start = DPIM.s0 unit = "1" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(12,22,44.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004265/0.2656, allocations: 193.7 kB / 0.7536 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/0.2658, allocations: 79.53 kB / 0.7537 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009275/0.2751, allocations: 2.925 MB / 0.7566 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.2751, allocations: 15.88 kB / 0.7566 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.2751, allocations: 12 kB / 0.7566 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.2751, allocations: 7.969 kB / 0.7566 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01095/0.2861, allocations: 4.064 MB / 0.7606 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.2861, allocations: 0 / 0.7606 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000764/0.2869, allocations: 91.91 kB / 0.7607 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004151/0.2911, allocations: 1.121 MB / 0.7618 GB, free: 9.676 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001707/0.2913, allocations: 23.98 kB / 0.7618 GB, free: 9.652 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01447/0.3057, allocations: 6.31 MB / 0.768 GB, free: 3.199 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3058, allocations: 4 kB / 0.768 GB, free: 3.195 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01101/0.3168, allocations: 3.712 MB / 0.7716 GB, free: 15.46 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002693/0.3171, allocations: 164.5 kB / 0.7717 GB, free: 15.28 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003183/0.3175, allocations: 16 kB / 0.7718 GB, free: 15.26 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009828/0.3184, allocations: 63.94 kB / 0.7718 GB, free: 15.2 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005653/0.319, allocations: 148.7 kB / 0.772 GB, free: 15.05 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-05/0.3191, allocations: 20 kB / 0.772 GB, free: 15.04 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.0005227/0.3196, allocations: 394.8 kB / 0.7724 GB, free: 14.65 MB / 0.5607 GB Notification: Performance of sort global known variables: time 2.8e-07/0.3196, allocations: 0 / 0.7724 GB, free: 14.65 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.001213/0.3209, allocations: 311.9 kB / 0.7726 GB, free: 14.35 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (Inf.delta,Inf.eq,DPIM.s,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 (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(12,22,44.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01129/0.3322, allocations: 4.294 MB / 0.7768 GB, free: 10.02 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.004828/0.337, allocations: 1.698 MB / 0.7785 GB, free: 8.297 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.3371, allocations: 0 / 0.7785 GB, free: 8.297 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.003359/0.3404, allocations: 1.144 MB / 0.7796 GB, free: 7.148 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008261/0.3413, allocations: 73.73 kB / 0.7797 GB, free: 7.078 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02777/0.3691, allocations: 10.77 MB / 0.7902 GB, free: 12.15 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006786/0.3698, allocations: 0.9361 MB / 0.7911 GB, free: 11.19 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.0004595/0.3703, allocations: 77.14 kB / 0.7912 GB, free: 11.11 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005936/0.3709, allocations: 271.3 kB / 0.7914 GB, free: 10.84 MB / 0.5763 GB Notification: Performance of SimCode: time 2.675e-06/0.3709, allocations: 0 / 0.7914 GB, free: 10.84 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7101/1.081, allocations: 22.64 MB / 0.8136 GB, free: 85.91 MB / 0.5764 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.13/15.21, allocations: 11.58 kB / 0.8136 GB, free: 85.91 MB / 0.5764 GB (rm -f OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM.pipe ; mkfifo OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM.pipe ; head -c 1048576 < OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM.pipe >> ../files/OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM.sim & python3 -m fmpy simulate --output-file OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 OpenIMDML_main_OpenIMDML_Examples_NonMultiDomainExamples_NonMultiDomainSinglePhaseInductionMotors_NonMultiDomainDPIM.fmu > OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM.pipe 2>&1)