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.4206/0.4206, allocations: 78.54 MB / 94.18 MB, free: 3.914 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.001241/0.001241, allocations: 104.8 kB / 113.7 MB, free: 9.801 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.001369/0.001369, allocations: 179.9 kB / 133.4 MB, free: 6.16 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.427/1.427, allocations: 222.9 MB / 375.8 MB, free: 3.789 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.6884/0.6884, allocations: 62.26 MB / 0.4951 GB, free: 7.852 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003439/0.003439, allocations: 133.5 kB / 0.6437 GB, free: 14.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1474, allocations: 69.5 MB / 0.7115 GB, free: 13.99 MB / 0.4982 GB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM): time 0.005655/0.1531, allocations: 4.053 MB / 0.7155 GB, free: 9.91 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.002657/0.1558, allocations: 1.263 MB / 0.7167 GB, free: 8.645 MB / 0.4982 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002123/0.156, allocations: 4 kB / 0.7167 GB, free: 8.641 MB / 0.4982 GB Notification: Performance of NFTyping.typeComponents: time 0.000381/0.1564, allocations: 126.9 kB / 0.7168 GB, free: 8.516 MB / 0.4982 GB Notification: Performance of NFTyping.typeBindings: time 0.0005508/0.157, allocations: 246.2 kB / 0.7171 GB, free: 8.273 MB / 0.4982 GB Notification: Performance of NFTyping.typeClassSections: time 0.001329/0.1583, allocations: 0.6209 MB / 0.7177 GB, free: 7.656 MB / 0.4982 GB Notification: Performance of NFFlatten.flatten: time 0.0009148/0.1592, allocations: 0.8528 MB / 0.7185 GB, free: 6.801 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002894/0.1595, allocations: 160.7 kB / 0.7187 GB, free: 6.633 MB / 0.4982 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004243/0.16, allocations: 370.5 kB / 0.719 GB, free: 6.27 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007473/0.1607, allocations: 498 kB / 0.7195 GB, free: 5.781 MB / 0.4982 GB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.1609, allocations: 68 kB / 0.7196 GB, free: 5.715 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002763/0.1611, allocations: 132 kB / 0.7197 GB, free: 5.586 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.0001965/0.1613, allocations: 183.2 kB / 0.7199 GB, free: 5.406 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.0003495/0.1617, allocations: 366 kB / 0.7202 GB, free: 5.047 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.1627, allocations: 0.9027 MB / 0.7211 GB, free: 4.141 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1627, allocations: 0 / 0.7211 GB, free: 4.141 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.874e-06/0.1627, allocations: 0 / 0.7211 GB, free: 4.141 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 8.766e-06/0.1628, allocations: 0 / 0.7211 GB, free: 4.141 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.004962/0.1677, allocations: 1.599 MB / 0.7227 GB, free: 2.492 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.1678, allocations: 11.97 kB / 0.7227 GB, free: 2.48 MB / 0.4982 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001242/0.1679, allocations: 90.7 kB / 0.7228 GB, free: 2.383 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002474/0.1704, allocations: 416 kB / 0.7232 GB, free: 1.977 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007751/0.1712, allocations: 0.5301 MB / 0.7237 GB, free: 1.402 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001721/0.1714, allocations: 134 kB / 0.7238 GB, free: 1.254 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.473e-05/0.1715, allocations: 40 kB / 0.7238 GB, free: 1.215 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.1729, allocations: 0.6776 MB / 0.7245 GB, free: 0.5234 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.1729, allocations: 0 / 0.7245 GB, free: 0.5234 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.888e-05/0.1729, allocations: 16 kB / 0.7245 GB, free: 0.5078 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.173, allocations: 8 kB / 0.7245 GB, free: 0.5 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001355/0.1743, allocations: 0.6286 MB / 0.7251 GB, free: 15.87 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.003338/0.1777, allocations: 1.912 MB / 0.727 GB, free: 13.85 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/0.179, allocations: 0.7788 MB / 0.7278 GB, free: 13.02 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009506/0.18, allocations: 486.5 kB / 0.7282 GB, free: 12.54 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 8.927e-05/0.1801, allocations: 20.48 kB / 0.7282 GB, free: 12.52 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.1801, allocations: 39.12 kB / 0.7283 GB, free: 12.47 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=64): time 1.994e-06/0.1801, allocations: 4 kB / 0.7283 GB, free: 12.47 MB / 0.5138 GB Notification: Performance of matching and sorting (n=64): time 0.01558/0.1957, allocations: 3.918 MB / 0.7321 GB, free: 8.523 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.643e-05/0.1958, allocations: 85.67 kB / 0.7322 GB, free: 8.422 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007628/0.1966, allocations: 0.5185 MB / 0.7327 GB, free: 7.895 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/0.1967, allocations: 37.7 kB / 0.7327 GB, free: 7.852 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.000226/0.1969, allocations: 277.5 kB / 0.733 GB, free: 7.574 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002502/0.1972, allocations: 233.9 kB / 0.7332 GB, free: 7.344 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002245/0.1974, allocations: 98.33 kB / 0.7333 GB, free: 7.238 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.1976, allocations: 370.8 kB / 0.7337 GB, free: 6.867 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008514/0.1985, allocations: 369.1 kB / 0.734 GB, free: 6.508 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000947/0.1994, allocations: 470.6 kB / 0.7345 GB, free: 6.02 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001843/0.2013, allocations: 0.8424 MB / 0.7353 GB, free: 5.148 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.2013, allocations: 7.938 kB / 0.7353 GB, free: 5.141 MB / 0.5138 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.01283/0.2141, allocations: 2.949 MB / 0.7382 GB, free: 2.176 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/0.2143, allocations: 8 kB / 0.7382 GB, free: 2.168 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.2143, allocations: 0 / 0.7382 GB, free: 2.168 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00978/0.2241, allocations: 1.835 MB / 0.74 GB, free: 336 kB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/0.2244, allocations: 67.91 kB / 0.74 GB, free: 268 kB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02061/0.2451, allocations: 8.319 MB / 0.7482 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008664/0.2459, allocations: 79.62 kB / 0.7482 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.784e-05/0.246, allocations: 23.98 kB / 0.7483 GB, free: 7.695 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.0002937/0.2463, allocations: 173.8 kB / 0.7484 GB, free: 7.516 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.2465, allocations: 71.52 kB / 0.7485 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009012/0.2555, allocations: 2.562 MB / 0.751 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/0.2556, allocations: 11.94 kB / 0.751 GB, free: 4.855 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.2556, allocations: 4 kB / 0.751 GB, free: 4.852 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-05/0.2556, allocations: 11.98 kB / 0.751 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01049/0.2661, allocations: 3.533 MB / 0.7545 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/0.2661, allocations: 0 / 0.7545 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004551/0.2666, allocations: 67.91 kB / 0.7545 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004624/0.2712, allocations: 1.165 MB / 0.7557 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/0.2714, allocations: 15.94 kB / 0.7557 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01291/0.2843, allocations: 5.706 MB / 0.7613 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.2843, allocations: 0 / 0.7613 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01032/0.2946, allocations: 3.231 MB / 0.7644 GB, free: 6.867 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004176/0.2951, allocations: 156.5 kB / 0.7646 GB, free: 6.695 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.2952, allocations: 12 kB / 0.7646 GB, free: 6.684 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007735/0.296, allocations: 51.94 kB / 0.7646 GB, free: 6.633 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004605/0.2965, allocations: 128.4 kB / 0.7648 GB, free: 6.508 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.249e-05/0.2965, allocations: 12 kB / 0.7648 GB, free: 6.496 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005413/0.2971, allocations: 378.8 kB / 0.7651 GB, free: 6.129 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2971, allocations: 0 / 0.7651 GB, free: 6.129 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001045/0.2981, allocations: 271.8 kB / 0.7654 GB, free: 5.863 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.01093/0.3091, allocations: 3.783 MB / 0.7691 GB, free: 2.047 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004232/0.3133, allocations: 1.459 MB / 0.7705 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3133, allocations: 0 / 0.7705 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002888/0.3162, allocations: 0.9545 MB / 0.7714 GB, free: 15.6 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006817/0.3169, allocations: 65.3 kB / 0.7715 GB, free: 15.54 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03231/0.3493, allocations: 10.37 MB / 0.7816 GB, free: 5.004 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005487/0.3498, allocations: 0.9035 MB / 0.7825 GB, free: 4.074 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.0002596/0.3501, allocations: 56.53 kB / 0.7826 GB, free: 4.02 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003532/0.3505, allocations: 223.4 kB / 0.7828 GB, free: 3.801 MB / 0.5607 GB Notification: Performance of SimCode: time 9.92e-07/0.3505, allocations: 0 / 0.7828 GB, free: 3.801 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6918/1.042, allocations: 23.28 MB / 0.8055 GB, free: 85.3 MB / 0.5764 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.83/14.87, allocations: 5.031 kB / 0.8055 GB, free: 85.3 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)