Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM.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.NonMultiDomainSPIM,fileNamePrefix="OpenIMDML_main_OpenIMDML_Examples_NonMultiDomainExamples_NonMultiDomainSinglePhaseInductionMotors_NonMultiDomainSPIM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM,fileNamePrefix="OpenIMDML_main_OpenIMDML_Examples_NonMultiDomainExamples_NonMultiDomainSinglePhaseInductionMotors_NonMultiDomainSPIM",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.3724/0.3724, allocations: 78.54 MB / 94.18 MB, free: 3.852 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.001164/0.001164, allocations: 111.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.001313/0.001313, allocations: 180.5 kB / 133.4 MB, free: 6.145 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.41/1.41, 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 0.6584/0.6584, allocations: 62.26 MB / 0.4951 GB, free: 7.844 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002324/0.002324, allocations: 120.9 kB / 0.6436 GB, free: 14.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1361, allocations: 69.51 MB / 0.7115 GB, free: 13.99 MB / 0.4982 GB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM): time 0.005543/0.1417, allocations: 4.061 MB / 0.7155 GB, free: 9.902 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.002675/0.1445, allocations: 1.252 MB / 0.7167 GB, free: 8.648 MB / 0.4982 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004276/0.1449, allocations: 8 kB / 0.7167 GB, free: 8.641 MB / 0.4982 GB Notification: Performance of NFTyping.typeComponents: time 0.000468/0.1454, allocations: 130.9 kB / 0.7168 GB, free: 8.512 MB / 0.4982 GB Notification: Performance of NFTyping.typeBindings: time 0.00059/0.146, allocations: 282.1 kB / 0.7171 GB, free: 8.234 MB / 0.4982 GB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.1474, allocations: 0.607 MB / 0.7177 GB, free: 7.629 MB / 0.4982 GB Notification: Performance of NFFlatten.flatten: time 0.001151/0.1486, allocations: 0.8645 MB / 0.7185 GB, free: 6.762 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002734/0.1489, allocations: 148.7 kB / 0.7187 GB, free: 6.605 MB / 0.4982 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005362/0.1494, allocations: 378.4 kB / 0.719 GB, free: 6.234 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007503/0.1502, allocations: 490 kB / 0.7195 GB, free: 5.754 MB / 0.4982 GB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.1503, allocations: 68 kB / 0.7196 GB, free: 5.688 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002462/0.1505, allocations: 135.9 kB / 0.7197 GB, free: 5.555 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.0001586/0.1507, allocations: 183.3 kB / 0.7199 GB, free: 5.375 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.0002903/0.151, allocations: 365.9 kB / 0.7202 GB, free: 5.016 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.0009908/0.152, allocations: 0.9144 MB / 0.7211 GB, free: 4.098 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.152, allocations: 0 / 0.7211 GB, free: 4.098 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.563e-06/0.152, allocations: 0 / 0.7211 GB, free: 4.098 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.152, allocations: 0 / 0.7211 GB, free: 4.098 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.004994/0.157, allocations: 1.585 MB / 0.7227 GB, free: 2.461 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.1571, allocations: 16.03 kB / 0.7227 GB, free: 2.445 MB / 0.4982 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001167/0.1572, allocations: 82.72 kB / 0.7228 GB, free: 2.355 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002613/0.1598, allocations: 408.1 kB / 0.7232 GB, free: 1.957 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008602/0.1607, allocations: 0.5301 MB / 0.7237 GB, free: 1.383 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000161/0.1609, allocations: 138 kB / 0.7238 GB, free: 1.23 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.161, allocations: 44 kB / 0.7238 GB, free: 1.188 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/0.1624, allocations: 0.6698 MB / 0.7245 GB, free: 0.5039 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.1625, allocations: 0 / 0.7245 GB, free: 0.5039 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.97e-05/0.1625, allocations: 16 kB / 0.7245 GB, free: 500 kB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.1625, allocations: 12 kB / 0.7245 GB, free: 488 kB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001343/0.1639, allocations: 0.6364 MB / 0.7252 GB, free: 15.84 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.003571/0.1675, allocations: 1.912 MB / 0.727 GB, free: 13.82 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/0.1691, allocations: 0.7827 MB / 0.7278 GB, free: 12.98 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008956/0.17, allocations: 479.2 kB / 0.7282 GB, free: 12.51 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 8.016e-05/0.1701, allocations: 12.5 kB / 0.7283 GB, free: 12.5 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.1702, allocations: 35.12 kB / 0.7283 GB, free: 12.45 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=64): time 2.204e-06/0.1702, allocations: 0 / 0.7283 GB, free: 12.45 MB / 0.5138 GB Notification: Performance of matching and sorting (n=64): time 0.01566/0.1858, allocations: 3.925 MB / 0.7321 GB, free: 8.5 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.1859, allocations: 85.67 kB / 0.7322 GB, free: 8.398 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008036/0.1867, allocations: 0.5263 MB / 0.7327 GB, free: 7.863 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 8.7e-05/0.1868, allocations: 37.7 kB / 0.7328 GB, free: 7.82 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002317/0.1871, allocations: 269.5 kB / 0.733 GB, free: 7.551 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003406/0.1875, allocations: 245.9 kB / 0.7332 GB, free: 7.309 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002101/0.1877, allocations: 94.28 kB / 0.7333 GB, free: 7.207 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.1878, allocations: 370.8 kB / 0.7337 GB, free: 6.836 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008518/0.1887, allocations: 377.1 kB / 0.734 GB, free: 6.469 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009457/0.1897, allocations: 462.6 kB / 0.7345 GB, free: 5.988 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001749/0.1914, allocations: 0.8463 MB / 0.7353 GB, free: 5.113 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.1915, allocations: 3.938 kB / 0.7353 GB, free: 5.109 MB / 0.5138 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.01306/0.2045, allocations: 2.953 MB / 0.7382 GB, free: 2.141 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.2046, allocations: 10.5 kB / 0.7382 GB, free: 2.133 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.2047, allocations: 0 / 0.7382 GB, free: 2.133 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009914/0.2146, allocations: 1.839 MB / 0.74 GB, free: 296 kB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003356/0.215, allocations: 63.91 kB / 0.7401 GB, free: 232 kB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02059/0.2356, allocations: 8.311 MB / 0.7482 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009506/0.2365, allocations: 87.61 kB / 0.7483 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.228e-05/0.2366, allocations: 20 kB / 0.7483 GB, free: 7.664 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (36): * Single equations (assignments): 35 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(13,24)} Notification: Performance of prepare postOptimizeDAE: time 0.0002815/0.2369, allocations: 177.8 kB / 0.7485 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/0.2371, allocations: 71.52 kB / 0.7485 GB, free: 7.41 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009159/0.2462, allocations: 2.558 MB / 0.751 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.2463, allocations: 11.94 kB / 0.751 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.2463, allocations: 4 kB / 0.751 GB, free: 4.82 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/0.2463, allocations: 7.969 kB / 0.751 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0106/0.2569, allocations: 3.537 MB / 0.7545 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.94e-05/0.257, allocations: 0 / 0.7545 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004378/0.2575, allocations: 67.89 kB / 0.7546 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004841/0.2623, allocations: 1.169 MB / 0.7557 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.205e-05/0.2624, allocations: 11.94 kB / 0.7557 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01304/0.2755, allocations: 5.709 MB / 0.7613 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2755, allocations: 4 kB / 0.7613 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0102/0.2858, allocations: 3.216 MB / 0.7644 GB, free: 6.844 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002818/0.2861, allocations: 164.5 kB / 0.7646 GB, free: 6.664 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.2862, allocations: 16 kB / 0.7646 GB, free: 6.648 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007707/0.287, allocations: 51.94 kB / 0.7647 GB, free: 6.598 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003785/0.2874, allocations: 116.4 kB / 0.7648 GB, free: 6.484 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.757e-05/0.2874, allocations: 19.98 kB / 0.7648 GB, free: 6.465 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005719/0.288, allocations: 374.9 kB / 0.7651 GB, free: 6.102 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.81e-07/0.288, allocations: 0 / 0.7651 GB, free: 6.102 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00112/0.2891, allocations: 283.8 kB / 0.7654 GB, free: 5.824 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (Inf.delta,Inf.eq,SPIM.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 (41): * Single equations (assignments): 40 * 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,14,44.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01059/0.2997, allocations: 3.779 MB / 0.7691 GB, free: 2.012 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004284/0.304, allocations: 1.459 MB / 0.7705 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.3041, allocations: 0 / 0.7705 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002915/0.307, allocations: 0.9544 MB / 0.7715 GB, free: 15.57 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000771/0.3078, allocations: 65.23 kB / 0.7715 GB, free: 15.51 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03222/0.34, allocations: 10.37 MB / 0.7816 GB, free: 4.98 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006522/0.3407, allocations: 0.9074 MB / 0.7825 GB, free: 4.047 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.0002813/0.341, allocations: 48.56 kB / 0.7826 GB, free: 4 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004932/0.3415, allocations: 227.3 kB / 0.7828 GB, free: 3.777 MB / 0.5607 GB Notification: Performance of SimCode: time 9.11e-07/0.3415, allocations: 0 / 0.7828 GB, free: 3.777 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6661/1.008, allocations: 23.28 MB / 0.8055 GB, free: 85.87 MB / 0.5764 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.69/14.7, allocations: 7.125 kB / 0.8055 GB, free: 85.86 MB / 0.5764 GB (rm -f OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM.pipe ; mkfifo OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM.pipe ; head -c 1048576 < OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM.pipe >> ../files/OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM.sim & python3 -m fmpy simulate --output-file OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM_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_NonMultiDomainSPIM.fmu > OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM.pipe 2>&1)