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.4622/0.4622, allocations: 78.55 MB / 94.05 MB, free: 3.984 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.002057/0.002057, allocations: 110 kB / 113.6 MB, free: 9.902 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.003224/0.003224, allocations: 195.6 kB / 133.3 MB, free: 6.258 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.988/1.988, allocations: 222.9 MB / 375.7 MB, free: 3.855 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 1.148/1.148, allocations: 62.54 MB / 0.4952 GB, free: 8.262 MB / 366.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002883/0.002883, allocations: 124 kB / 0.5754 GB, free: 6.262 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9016/0.9045, allocations: 69.49 MB / 0.6432 GB, free: 17.92 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM): time 0.007917/0.9125, allocations: 4.053 MB / 0.6472 GB, free: 14.67 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002725/0.9153, allocations: 1.253 MB / 0.6484 GB, free: 13.65 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003434/0.9157, allocations: 5.688 kB / 0.6484 GB, free: 13.65 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004446/0.9161, allocations: 135.2 kB / 0.6486 GB, free: 13.54 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000531/0.9166, allocations: 250.5 kB / 0.6488 GB, free: 13.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001481/0.9181, allocations: 0.6125 MB / 0.6494 GB, free: 12.87 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007829/0.9189, allocations: 0.8563 MB / 0.6502 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003435/0.9193, allocations: 160.3 kB / 0.6504 GB, free: 12.28 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00052/0.9198, allocations: 363 kB / 0.6507 GB, free: 12.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008623/0.9207, allocations: 0.4888 MB / 0.6512 GB, free: 11.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001635/0.9209, allocations: 69.28 kB / 0.6513 GB, free: 11.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002967/0.9212, allocations: 122.6 kB / 0.6514 GB, free: 11.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.9213, allocations: 187.2 kB / 0.6516 GB, free: 11.55 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004278/0.9218, allocations: 364 kB / 0.6519 GB, free: 11.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001107/0.9229, allocations: 0.9005 MB / 0.6528 GB, free: 10.6 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.9229, allocations: 0 / 0.6528 GB, free: 10.6 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.9229, allocations: 5.375 kB / 0.6528 GB, free: 10.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.884e-05/0.9229, allocations: 0 / 0.6528 GB, free: 10.59 MB / 446.1 MB 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.005122/0.9281, allocations: 1.567 MB / 0.6543 GB, free: 9.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.001e-05/0.9282, allocations: 10.5 kB / 0.6543 GB, free: 9.57 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001573/0.9283, allocations: 88.67 kB / 0.6544 GB, free: 9.488 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002691/0.931, allocations: 404.1 kB / 0.6548 GB, free: 9.328 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009185/0.932, allocations: 0.5237 MB / 0.6553 GB, free: 8.863 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002116/0.9322, allocations: 136.2 kB / 0.6555 GB, free: 8.742 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.9323, allocations: 48.22 kB / 0.6555 GB, free: 8.723 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/0.9339, allocations: 0.6726 MB / 0.6562 GB, free: 8.316 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.9339, allocations: 0 / 0.6562 GB, free: 8.316 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.231e-05/0.934, allocations: 27.38 kB / 0.6562 GB, free: 8.293 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.806e-05/0.934, allocations: 10.78 kB / 0.6562 GB, free: 8.293 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001565/0.9356, allocations: 0.6252 MB / 0.6568 GB, free: 7.996 MB / 446.1 MB 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.003882/0.9395, allocations: 1.919 MB / 0.6587 GB, free: 6.426 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.9409, allocations: 0.7787 MB / 0.6594 GB, free: 5.766 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008731/0.9418, allocations: 483.2 kB / 0.6599 GB, free: 5.289 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.729e-05/0.9418, allocations: 16.47 kB / 0.6599 GB, free: 5.273 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.9419, allocations: 43.06 kB / 0.66 GB, free: 5.223 MB / 446.1 MB Notification: Performance of pre-optimization done (n=64): time 1.793e-06/0.9419, allocations: 0 / 0.66 GB, free: 5.223 MB / 446.1 MB Notification: Performance of matching and sorting (n=64): time 0.01468/0.9566, allocations: 3.917 MB / 0.6638 GB, free: 1.273 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.9567, allocations: 93.59 kB / 0.6639 GB, free: 1.164 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007224/0.9575, allocations: 0.5185 MB / 0.6644 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.036e-05/0.9576, allocations: 33.7 kB / 0.6644 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/0.9578, allocations: 277.2 kB / 0.6647 GB, free: 328 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002315/0.958, allocations: 216.8 kB / 0.6649 GB, free: 108 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002177/0.9582, allocations: 98.25 kB / 0.665 GB, free: 0 / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0004365/0.9587, allocations: 378.8 kB / 0.6653 GB, free: 15.62 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009677/0.9597, allocations: 369.1 kB / 0.6657 GB, free: 15.26 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/0.9608, allocations: 462.6 kB / 0.6661 GB, free: 14.79 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002098/0.9629, allocations: 0.8541 MB / 0.667 GB, free: 13.9 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.9629, allocations: 0 / 0.667 GB, free: 13.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.01352/0.9764, allocations: 2.945 MB / 0.6698 GB, free: 10.94 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.127e-05/0.9765, allocations: 4 kB / 0.6698 GB, free: 10.94 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.581e-05/0.9766, allocations: 4 kB / 0.6698 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0111/0.9877, allocations: 1.831 MB / 0.6716 GB, free: 9.098 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005283/0.9883, allocations: 59.91 kB / 0.6717 GB, free: 9.039 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02998/1.018, allocations: 8.334 MB / 0.6798 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/1.02, allocations: 83.47 kB / 0.6799 GB, free: 484 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003063/1.02, allocations: 20 kB / 0.6799 GB, free: 464 kB / 462.1 MB 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.0009851/1.021, allocations: 185.7 kB / 0.6801 GB, free: 268 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005302/1.022, allocations: 67.19 kB / 0.6802 GB, free: 200 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01198/1.034, allocations: 2.558 MB / 0.6827 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.732e-05/1.034, allocations: 7.938 kB / 0.6827 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.639e-05/1.034, allocations: 8 kB / 0.6827 GB, free: 13.6 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.902e-05/1.034, allocations: 0 / 0.6827 GB, free: 13.6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01525/1.049, allocations: 3.525 MB / 0.6861 GB, free: 9.984 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.192e-05/1.05, allocations: 4 kB / 0.6861 GB, free: 9.98 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007061/1.05, allocations: 71.91 kB / 0.6862 GB, free: 9.91 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006064/1.056, allocations: 1.16 MB / 0.6873 GB, free: 8.746 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002446/1.057, allocations: 27.92 kB / 0.6874 GB, free: 8.719 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01833/1.075, allocations: 5.688 MB / 0.6929 GB, free: 2.891 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/1.075, allocations: 4 kB / 0.6929 GB, free: 2.887 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01419/1.089, allocations: 3.219 MB / 0.6961 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006896/1.09, allocations: 160.1 kB / 0.6962 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000511/1.091, allocations: 20 kB / 0.6962 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/1.092, allocations: 47.95 kB / 0.6963 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007832/1.093, allocations: 124.4 kB / 0.6964 GB, free: 15.28 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001487/1.093, allocations: 16 kB / 0.6964 GB, free: 15.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001108/1.094, allocations: 378.8 kB / 0.6968 GB, free: 14.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.094, allocations: 0 / 0.6968 GB, free: 14.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002099/1.096, allocations: 271.8 kB / 0.697 GB, free: 14.63 MB / 494.1 MB 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.01423/1.111, allocations: 3.775 MB / 0.7007 GB, free: 10.82 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006526/1.117, allocations: 1.474 MB / 0.7022 GB, free: 9.332 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/1.117, allocations: 0 / 0.7022 GB, free: 9.332 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003951/1.121, allocations: 0.9621 MB / 0.7031 GB, free: 8.359 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/1.123, allocations: 60.97 kB / 0.7032 GB, free: 8.305 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04448/1.167, allocations: 10.51 MB / 0.7134 GB, free: 13.63 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001578/1.169, allocations: 0.9035 MB / 0.7143 GB, free: 12.7 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.0005855/1.169, allocations: 60.53 kB / 0.7144 GB, free: 12.64 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007751/1.17, allocations: 223.4 kB / 0.7146 GB, free: 12.42 MB / 0.4982 GB Notification: Performance of SimCode: time 2.625e-06/1.17, allocations: 0 / 0.7146 GB, free: 12.42 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09052/1.261, allocations: 23.03 MB / 0.7371 GB, free: 5.625 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.93/28.2, allocations: 4.812 kB / 0.7371 GB, free: 5.621 MB / 0.5138 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)