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.3344/0.3344, allocations: 78.55 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.0009996/0.0009995, allocations: 115.3 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.001172/0.001172, allocations: 195.8 kB / 133.4 MB, free: 6.164 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.273/1.273, 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.5905/0.5905, allocations: 62.26 MB / 0.4951 GB, free: 7.832 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 124.2 kB / 0.6436 GB, free: 14.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1245, allocations: 69.51 MB / 0.7115 GB, free: 13.98 MB / 0.4982 GB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM): time 0.004396/0.129, allocations: 4.049 MB / 0.7155 GB, free: 9.902 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.002144/0.1311, allocations: 1.263 MB / 0.7167 GB, free: 8.637 MB / 0.4982 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001835/0.1313, allocations: 4 kB / 0.7167 GB, free: 8.633 MB / 0.4982 GB Notification: Performance of NFTyping.typeComponents: time 0.0003151/0.1317, allocations: 126.9 kB / 0.7168 GB, free: 8.508 MB / 0.4982 GB Notification: Performance of NFTyping.typeBindings: time 0.0004839/0.1322, allocations: 282.1 kB / 0.7171 GB, free: 8.23 MB / 0.4982 GB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.1333, allocations: 0.6138 MB / 0.7177 GB, free: 7.621 MB / 0.4982 GB Notification: Performance of NFFlatten.flatten: time 0.0007141/0.134, allocations: 0.8606 MB / 0.7185 GB, free: 6.758 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002422/0.1343, allocations: 156.7 kB / 0.7187 GB, free: 6.594 MB / 0.4982 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003248/0.1346, allocations: 374.5 kB / 0.719 GB, free: 6.227 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005511/0.1352, allocations: 486.1 kB / 0.7195 GB, free: 5.75 MB / 0.4982 GB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.1353, allocations: 72 kB / 0.7196 GB, free: 5.68 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002263/0.1355, allocations: 135.9 kB / 0.7197 GB, free: 5.547 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.1357, allocations: 179.3 kB / 0.7199 GB, free: 5.371 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.0002746/0.1359, allocations: 365.9 kB / 0.7202 GB, free: 5.012 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.0007397/0.1367, allocations: 0.9034 MB / 0.7211 GB, free: 4.109 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.1367, allocations: 4 kB / 0.7211 GB, free: 4.105 MB / 0.4982 GB Notification: Performance of FrontEnd: time 2.204e-06/0.1367, allocations: 0 / 0.7211 GB, free: 4.105 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.1367, allocations: 0 / 0.7211 GB, free: 4.105 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.004432/0.1412, allocations: 1.57 MB / 0.7226 GB, free: 2.484 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.1412, allocations: 12.03 kB / 0.7227 GB, free: 2.473 MB / 0.4982 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001064/0.1413, allocations: 94.64 kB / 0.7227 GB, free: 2.371 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002336/0.1437, allocations: 403.6 kB / 0.7231 GB, free: 1.977 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006584/0.1443, allocations: 0.5181 MB / 0.7236 GB, free: 1.414 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001372/0.1445, allocations: 134 kB / 0.7238 GB, free: 1.266 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.473e-05/0.1446, allocations: 47.91 kB / 0.7238 GB, free: 1.219 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/0.1458, allocations: 0.6698 MB / 0.7245 GB, free: 0.5352 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.1458, allocations: 3.938 kB / 0.7245 GB, free: 0.5312 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.284e-05/0.1459, allocations: 23.98 kB / 0.7245 GB, free: 0.5078 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.1459, allocations: 12 kB / 0.7245 GB, free: 0.4961 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.1471, 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.00287/0.15, allocations: 1.9 MB / 0.727 GB, free: 13.86 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/0.1512, allocations: 0.7865 MB / 0.7277 GB, free: 13.02 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008104/0.152, allocations: 482.2 kB / 0.7282 GB, free: 12.55 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 8.988e-05/0.1521, allocations: 16.47 kB / 0.7282 GB, free: 12.53 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.1521, allocations: 39.12 kB / 0.7283 GB, free: 12.48 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=64): time 2.444e-06/0.1521, allocations: 0 / 0.7283 GB, free: 12.48 MB / 0.5138 GB Notification: Performance of matching and sorting (n=64): time 0.01381/0.1659, allocations: 3.917 MB / 0.7321 GB, free: 8.535 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.166, allocations: 85.67 kB / 0.7322 GB, free: 8.434 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006043/0.1666, allocations: 0.5224 MB / 0.7327 GB, free: 7.902 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 6.121e-05/0.1667, allocations: 37.7 kB / 0.7327 GB, free: 7.859 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.1669, allocations: 273.2 kB / 0.733 GB, free: 7.586 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001921/0.1671, allocations: 224.8 kB / 0.7332 GB, free: 7.363 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/0.1673, allocations: 94.25 kB / 0.7333 GB, free: 7.262 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1674, allocations: 374.8 kB / 0.7336 GB, free: 6.887 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007484/0.1682, allocations: 377.1 kB / 0.734 GB, free: 6.52 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000785/0.169, allocations: 454.6 kB / 0.7344 GB, free: 6.047 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/0.1705, allocations: 0.8463 MB / 0.7352 GB, free: 5.172 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.1706, allocations: 0 / 0.7352 GB, free: 5.172 MB / 0.5138 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.01126/0.1818, allocations: 2.952 MB / 0.7381 GB, free: 2.203 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.1819, allocations: 7.938 kB / 0.7381 GB, free: 2.195 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.1819, allocations: 4 kB / 0.7381 GB, free: 2.191 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008809/0.1907, allocations: 1.835 MB / 0.7399 GB, free: 360 kB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002928/0.191, allocations: 59.91 kB / 0.74 GB, free: 300 kB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01802/0.2091, allocations: 8.31 MB / 0.7481 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007919/0.2099, allocations: 87.47 kB / 0.7482 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.87e-05/0.21, allocations: 20 kB / 0.7482 GB, free: 7.73 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.000291/0.2103, allocations: 173.8 kB / 0.7484 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/0.2105, allocations: 75.17 kB / 0.7484 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008038/0.2185, allocations: 2.558 MB / 0.7509 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.2185, allocations: 7.938 kB / 0.751 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.2185, allocations: 8 kB / 0.751 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/0.2186, allocations: 7.984 kB / 0.751 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008944/0.2275, allocations: 3.529 MB / 0.7544 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.2275, allocations: 3.938 kB / 0.7544 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003764/0.2279, allocations: 67.91 kB / 0.7545 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004035/0.232, allocations: 1.169 MB / 0.7556 GB, free: 20 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.677e-05/0.232, allocations: 15.94 kB / 0.7556 GB, free: 4 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01114/0.2432, allocations: 5.693 MB / 0.7612 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.2432, allocations: 4 kB / 0.7612 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008591/0.2518, allocations: 3.223 MB / 0.7644 GB, free: 6.918 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002101/0.252, allocations: 152.2 kB / 0.7645 GB, free: 6.75 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.2522, allocations: 23.98 kB / 0.7645 GB, free: 6.727 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006656/0.2528, allocations: 47.95 kB / 0.7646 GB, free: 6.68 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003207/0.2532, allocations: 120.4 kB / 0.7647 GB, free: 6.562 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.391e-05/0.2532, allocations: 16 kB / 0.7647 GB, free: 6.547 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004264/0.2537, allocations: 378.8 kB / 0.7651 GB, free: 6.18 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2537, allocations: 0 / 0.7651 GB, free: 6.18 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009197/0.2546, allocations: 279.7 kB / 0.7653 GB, free: 5.906 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.008944/0.2636, allocations: 3.779 MB / 0.769 GB, free: 2.094 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003702/0.2673, allocations: 1.455 MB / 0.7704 GB, free: 0.625 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.2673, allocations: 0 / 0.7704 GB, free: 0.625 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002483/0.2698, allocations: 0.9583 MB / 0.7714 GB, free: 15.65 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006335/0.2704, allocations: 58.3 kB / 0.7714 GB, free: 15.59 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02924/0.2997, allocations: 10.34 MB / 0.7815 GB, free: 5.086 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005096/0.3003, allocations: 0.9074 MB / 0.7824 GB, free: 4.152 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.0002557/0.3005, allocations: 48.56 kB / 0.7825 GB, free: 4.105 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003346/0.3009, allocations: 230 kB / 0.7827 GB, free: 3.883 MB / 0.5607 GB Notification: Performance of SimCode: time 5.92e-07/0.3009, allocations: 0 / 0.7827 GB, free: 3.883 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5305/0.8314, allocations: 23.26 MB / 0.8054 GB, free: 85.07 MB / 0.5764 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.48, allocations: 6.734 kB / 0.8054 GB, free: 85.07 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIMDML_main_OpenIMDML_Examples_NonMultiDomainExamples_NonMultiDomainSinglePhaseInductionMotors_NonMultiDomainSPIM_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 OpenIMDML_main_OpenIMDML_Examples_NonMultiDomainExamples_NonMultiDomainSinglePhaseInductionMotors_NonMultiDomainSPIM.fmu > OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM.pipe 2>&1)